Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|TSet.y|conPI.y|hea.Q_flow|hex.Q1_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|TSet.y|conPI.y|hea.Q_flow|hex.Q1_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001533/0.001534, allocations: 117.5 kB / 16.42 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 188.9 kB / 17.35 MB, free: 5.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.584/2.584, allocations: 461.7 MB / 0.7352 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 67.89 kB / 1.055 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9245/0.9259, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 1.238/2.164, allocations: 380.1 MB / 1.579 GB, free: 17.8 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.06553/2.23, allocations: 46.53 MB / 1.625 GB, free: 17.62 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009208/2.239, allocations: 176.9 kB / 1.625 GB, free: 17.62 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.01126/2.25, allocations: 3.653 MB / 1.629 GB, free: 17.54 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.02464/2.275, allocations: 7.594 MB / 1.636 GB, free: 17.25 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.01257/2.288, allocations: 3.972 MB / 1.64 GB, free: 17.14 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.02918/2.317, allocations: 17.35 MB / 1.657 GB, free: 17.02 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01131/2.328, allocations: 5.617 MB / 1.662 GB, free: 16.25 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01769/2.346, allocations: 6.371 MB / 1.669 GB, free: 16.16 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008927/2.355, allocations: 3.772 MB / 1.672 GB, free: 15.67 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.002781/2.358, allocations: 0.5046 MB / 1.673 GB, free: 15.67 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01901/2.377, allocations: 6.345 MB / 1.679 GB, free: 15.61 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.004545/2.381, allocations: 2.007 MB / 1.681 GB, free: 15.37 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.008393/2.39, allocations: 3.15 MB / 1.684 GB, free: 14.49 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.02183/2.412, allocations: 10.38 MB / 1.694 GB, free: 13.17 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/2.412, allocations: 2.594 kB / 1.694 GB, free: 13.17 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.694e-06/2.412, allocations: 0 / 1.694 GB, free: 13.17 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0003679/2.412, allocations: 0 / 1.694 GB, free: 13.17 MB / 1.279 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 864 * Number of variables: 864 Notification: Performance of Generate backend data structure: time 0.01999/2.432, allocations: 6.477 MB / 1.7 GB, free: 10.21 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/2.432, allocations: 8.281 kB / 1.7 GB, free: 10.21 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01246/2.445, allocations: 2.01 MB / 1.702 GB, free: 9.438 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01343/2.458, allocations: 5.86 MB / 1.708 GB, free: 6.852 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004997/2.459, allocations: 389.6 kB / 1.708 GB, free: 6.598 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001416/2.46, allocations: 345.6 kB / 1.709 GB, free: 6.492 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01347/2.473, allocations: 4.506 MB / 1.713 GB, free: 3.844 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000121/2.474, allocations: 6.5 kB / 1.713 GB, free: 3.844 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009784/2.475, allocations: 143.6 kB / 1.713 GB, free: 3.738 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000158/2.475, allocations: 140.3 kB / 1.713 GB, free: 3.715 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01071/2.485, allocations: 3.948 MB / 1.717 GB, free: 1.797 MB / 1.279 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03771/2.523, allocations: 19.51 MB / 1.736 GB, free: 14.14 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004342/2.528, allocations: 1.746 MB / 1.738 GB, free: 12.35 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002266/2.53, allocations: 0.9121 MB / 1.739 GB, free: 11.43 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007037/2.531, allocations: 410.8 kB / 1.739 GB, free: 10.96 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002634/2.533, allocations: 1.053 MB / 1.74 GB, free: 9.887 MB / 1.311 GB Notification: Performance of pre-optimization done (n=127): time 3.908e-06/2.533, allocations: 0 / 1.74 GB, free: 9.887 MB / 1.311 GB Notification: Performance of matching and sorting (n=127): time 0.008591/2.542, allocations: 2.885 MB / 1.743 GB, free: 7 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.098e-05/2.542, allocations: 145.5 kB / 1.743 GB, free: 6.828 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007881/2.55, allocations: 4.65 MB / 1.748 GB, free: 2.191 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0003993/2.55, allocations: 61.7 kB / 1.748 GB, free: 2.125 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.002206/2.553, allocations: 2.438 MB / 1.75 GB, free: 15.69 MB / 1.326 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005325/2.553, allocations: 462.2 kB / 1.751 GB, free: 15.24 MB / 1.326 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001001/2.554, allocations: 0.6858 MB / 1.751 GB, free: 14.55 MB / 1.326 GB Notification: Performance of setup shared object (initialization): time 0.0001023/2.554, allocations: 301.1 kB / 1.752 GB, free: 14.25 MB / 1.326 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002928/2.557, allocations: 1.37 MB / 1.753 GB, free: 12.88 MB / 1.326 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003651/2.561, allocations: 2.502 MB / 1.756 GB, free: 9.887 MB / 1.326 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005917/2.567, allocations: 3.677 MB / 1.759 GB, free: 5.891 MB / 1.326 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.342e-05/2.567, allocations: 15.94 kB / 1.759 GB, free: 5.875 MB / 1.326 GB Notification: Performance of matching and sorting (n=420) (initialization): time 0.009048/2.576, allocations: 4.248 MB / 1.763 GB, free: 1.82 MB / 1.326 GB Notification: Performance of prepare postOptimizeDAE: time 6.71e-05/2.576, allocations: 49.69 kB / 1.763 GB, free: 1.766 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-05/2.576, allocations: 36.06 kB / 1.763 GB, free: 1.73 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.295e-05/2.576, allocations: 48 kB / 1.763 GB, free: 1.684 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00292/2.579, allocations: 0.7149 MB / 1.764 GB, free: 1.012 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.677e-05/2.579, allocations: 66.14 kB / 1.764 GB, free: 0.9609 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004442/2.584, allocations: 0.5234 MB / 1.765 GB, free: 448 kB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002495/2.584, allocations: 144 kB / 1.765 GB, free: 304 kB / 1.326 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00513/2.589, allocations: 2.515 MB / 1.767 GB, free: 13.78 MB / 1.342 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003815/2.593, allocations: 2.506 MB / 1.77 GB, free: 10.78 MB / 1.342 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00627/2.599, allocations: 3.676 MB / 1.773 GB, free: 6.789 MB / 1.342 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.158e-05/2.599, allocations: 16 kB / 1.773 GB, free: 6.773 MB / 1.342 GB Notification: Performance of matching and sorting (n=420) (initialization_lambda0): time 0.009134/2.608, allocations: 4.244 MB / 1.777 GB, free: 2.719 MB / 1.342 GB Notification: Performance of prepare postOptimizeDAE: time 4.75e-05/2.608, allocations: 49.64 kB / 1.778 GB, free: 2.664 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.785e-05/2.608, allocations: 32 kB / 1.778 GB, free: 2.633 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.411e-05/2.608, allocations: 48 kB / 1.778 GB, free: 2.586 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002794/2.611, allocations: 0.7185 MB / 1.778 GB, free: 1.914 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-05/2.611, allocations: 72.44 kB / 1.778 GB, free: 1.855 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004674/2.616, allocations: 433.7 kB / 1.779 GB, free: 1.43 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002784/2.616, allocations: 144 kB / 1.779 GB, free: 1.289 MB / 1.342 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 150 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (352): * Single equations (assignments): 346 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008019/2.617, allocations: 373.5 kB / 1.779 GB, free: 0.9648 MB / 1.342 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001036/2.618, allocations: 434.4 kB / 1.78 GB, free: 0.5352 MB / 1.342 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006028/2.624, allocations: 2.296 MB / 1.782 GB, free: 14.24 MB / 1.357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004151/2.628, allocations: 1.898 MB / 1.784 GB, free: 12.26 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/2.628, allocations: 4 kB / 1.784 GB, free: 12.26 MB / 1.357 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00213/2.63, allocations: 0.7254 MB / 1.785 GB, free: 11.51 MB / 1.357 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006251/2.631, allocations: 20 kB / 1.785 GB, free: 11.49 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002373/2.633, allocations: 179.8 kB / 1.785 GB, free: 11.31 MB / 1.357 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001854/2.634, allocations: 82.95 kB / 1.785 GB, free: 11.23 MB / 1.357 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005443/2.639, allocations: 2.008 MB / 1.787 GB, free: 9.234 MB / 1.357 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007006/2.646, allocations: 3.224 MB / 1.79 GB, free: 5.984 MB / 1.357 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001884/2.648, allocations: 0.8262 MB / 1.791 GB, free: 5.16 MB / 1.357 GB Notification: Performance of sorting global known variables: time 0.006187/2.654, allocations: 3.111 MB / 1.794 GB, free: 2.066 MB / 1.357 GB Notification: Performance of Backend: time 4.208e-06/2.654, allocations: 0 / 1.794 GB, free: 2.066 MB / 1.357 GB Notification: Performance of simCode: created initialization part: time 0.01708/2.671, allocations: 5.531 MB / 1.799 GB, free: 12.84 MB / 1.373 GB Notification: Performance of SimCode: time 0.0217/2.693, allocations: 10.08 MB / 1.809 GB, free: 2.773 MB / 1.373 GB Notification: Performance of Templates: time 0.1663/2.859, allocations: 99.17 MB / 1.906 GB, free: 0.8672 MB / 1.467 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.makefile (rm -f Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.sim & ./Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches