Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001764/0.001764, allocations: 105.5 kB / 16.27 MB, free: 6.414 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.001935/0.001935, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.4/1.4, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.691/2.691, allocations: 437.1 MB / 0.7111 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002939/0.00294, allocations: 68.16 kB / 0.8699 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4086/0.4115, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 1.165/1.576, allocations: 380.1 MB / 1.389 GB, free: 12.74 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.07339/1.65, allocations: 46.52 MB / 1.435 GB, free: 14.09 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009191/1.659, allocations: 175.1 kB / 1.435 GB, free: 13.92 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.01882/1.678, allocations: 8.595 MB / 1.443 GB, free: 5.305 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.02644/1.704, allocations: 7.318 MB / 1.45 GB, free: 13.95 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0111/1.715, allocations: 3.844 MB / 1.454 GB, free: 10.14 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0281/1.743, allocations: 17.09 MB / 1.471 GB, free: 9.023 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009976/1.753, allocations: 5.587 MB / 1.476 GB, free: 3.355 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01619/1.77, allocations: 6.271 MB / 1.482 GB, free: 13.06 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008719/1.778, allocations: 3.705 MB / 1.486 GB, free: 9.355 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.001675/1.78, allocations: 0.4922 MB / 1.486 GB, free: 8.863 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01537/1.795, allocations: 6.33 MB / 1.493 GB, free: 2.52 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.003302/1.799, allocations: 1.983 MB / 1.495 GB, free: 0.5312 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.008033/1.807, allocations: 3.13 MB / 1.498 GB, free: 13.39 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.02307/1.83, allocations: 10.17 MB / 1.508 GB, free: 3.188 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/1.83, allocations: 0 / 1.508 GB, free: 3.188 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.944e-06/1.83, allocations: 0 / 1.508 GB, free: 3.188 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0001904/1.83, allocations: 0 / 1.508 GB, free: 3.188 MB / 1.201 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.01436/1.845, allocations: 6.446 MB / 1.514 GB, free: 12.63 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/1.845, allocations: 12.03 kB / 1.514 GB, free: 12.62 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01225/1.857, allocations: 2.006 MB / 1.516 GB, free: 10.6 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01228/1.869, allocations: 5.616 MB / 1.521 GB, free: 4.906 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001654/1.871, allocations: 0.595 MB / 1.522 GB, free: 4.285 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001116/1.872, allocations: 340 kB / 1.522 GB, free: 3.953 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0101/1.882, allocations: 4.54 MB / 1.527 GB, free: 15.3 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-05/1.882, allocations: 0 / 1.527 GB, free: 15.3 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003807/1.883, allocations: 140 kB / 1.527 GB, free: 15.16 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001498/1.883, allocations: 138.5 kB / 1.527 GB, free: 15.02 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01007/1.893, allocations: 4.003 MB / 1.531 GB, free: 11.01 MB / 1.232 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.7357/2.629, allocations: 19.75 MB / 1.55 GB, free: 437.3 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005833/2.635, allocations: 1.763 MB / 1.552 GB, free: 436.7 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002853/2.637, allocations: 0.9185 MB / 1.553 GB, free: 436.4 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000784/2.638, allocations: 410.5 kB / 1.553 GB, free: 436.1 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003262/2.642, allocations: 1.065 MB / 1.554 GB, free: 435.7 MB / 1.232 GB Notification: Performance of pre-optimization done (n=127): time 3.296e-06/2.642, allocations: 0.6562 kB / 1.554 GB, free: 435.7 MB / 1.232 GB Notification: Performance of matching and sorting (n=127): time 0.009801/2.651, allocations: 2.929 MB / 1.557 GB, free: 434.9 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.009e-05/2.651, allocations: 143 kB / 1.557 GB, free: 434.8 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01062/2.662, allocations: 4.656 MB / 1.562 GB, free: 433.2 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0005562/2.663, allocations: 59.69 kB / 1.562 GB, free: 433.2 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.002468/2.665, allocations: 2.429 MB / 1.564 GB, free: 431.5 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007174/2.666, allocations: 474.1 kB / 1.565 GB, free: 431.2 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001247/2.667, allocations: 0.6827 MB / 1.565 GB, free: 430.9 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 6.204e-05/2.667, allocations: 306.7 kB / 1.566 GB, free: 430.6 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003613/2.671, allocations: 1.405 MB / 1.567 GB, free: 430.1 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004379/2.675, allocations: 2.552 MB / 1.569 GB, free: 428.3 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007012/2.682, allocations: 3.731 MB / 1.573 GB, free: 426.1 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.798e-05/2.682, allocations: 10.12 kB / 1.573 GB, free: 426.1 MB / 1.232 GB Notification: Performance of matching and sorting (n=420) (initialization): time 0.01078/2.693, allocations: 4.327 MB / 1.577 GB, free: 424.5 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 6.778e-05/2.693, allocations: 50.77 kB / 1.577 GB, free: 424.5 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.347e-05/2.693, allocations: 34.16 kB / 1.577 GB, free: 424.5 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.847e-05/2.693, allocations: 48.19 kB / 1.577 GB, free: 424.5 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003181/2.697, allocations: 0.7372 MB / 1.578 GB, free: 424.4 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.302e-05/2.697, allocations: 71.06 kB / 1.578 GB, free: 424.4 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005378/2.702, allocations: 0.5715 MB / 1.579 GB, free: 424.2 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004281/2.703, allocations: 143 kB / 1.579 GB, free: 424.2 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006622/2.709, allocations: 2.561 MB / 1.581 GB, free: 423.2 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004702/2.714, allocations: 2.547 MB / 1.584 GB, free: 421.3 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007087/2.721, allocations: 3.741 MB / 1.588 GB, free: 419 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.813e-05/2.721, allocations: 10.16 kB / 1.588 GB, free: 419 MB / 1.232 GB Notification: Performance of matching and sorting (n=420) (initialization_lambda0): time 0.01144/2.733, allocations: 4.33 MB / 1.592 GB, free: 417.3 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 7.174e-05/2.733, allocations: 48.81 kB / 1.592 GB, free: 417.3 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.81e-05/2.733, allocations: 36.77 kB / 1.592 GB, free: 417.3 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.86e-05/2.733, allocations: 52.75 kB / 1.592 GB, free: 417.3 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003111/2.736, allocations: 0.7365 MB / 1.593 GB, free: 417.2 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-05/2.736, allocations: 68.88 kB / 1.593 GB, free: 417.2 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006052/2.742, allocations: 497.4 kB / 1.593 GB, free: 417 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005485/2.743, allocations: 147.8 kB / 1.593 GB, free: 417 MB / 1.232 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.001026/2.744, allocations: 368 kB / 1.594 GB, free: 416.7 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001478/2.745, allocations: 438.8 kB / 1.594 GB, free: 416.4 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006246/2.751, allocations: 2.328 MB / 1.596 GB, free: 415.6 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.475e-05/2.751, allocations: 11.88 kB / 1.596 GB, free: 415.6 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.534e-05/2.751, allocations: 7.906 kB / 1.596 GB, free: 415.6 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004066/2.756, allocations: 1.92 MB / 1.598 GB, free: 414.7 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01409/2.77, allocations: 6.692 MB / 1.605 GB, free: 411.6 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.357e-05/2.77, allocations: 11.81 kB / 1.605 GB, free: 411.6 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001697/2.771, allocations: 329.3 kB / 1.605 GB, free: 411.6 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002421/2.772, allocations: 55.77 kB / 1.605 GB, free: 411.6 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/2.772, allocations: 54.64 kB / 1.605 GB, free: 411.6 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001009/2.773, allocations: 1.549 MB / 1.607 GB, free: 410.1 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/2.773, allocations: 14.47 kB / 1.607 GB, free: 410.1 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007245/2.78, allocations: 3.394 MB / 1.61 GB, free: 408.4 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002493/2.783, allocations: 0.7227 MB / 1.611 GB, free: 407.8 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001436/2.784, allocations: 43.77 kB / 1.611 GB, free: 407.8 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00353/2.788, allocations: 202.4 kB / 1.611 GB, free: 407.7 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002317/2.788, allocations: 112.7 kB / 1.611 GB, free: 407.6 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000183/2.788, allocations: 71.2 kB / 1.611 GB, free: 407.6 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.007022/2.795, allocations: 3.121 MB / 1.614 GB, free: 406 MB / 1.232 GB Notification: Performance of sort global known variables: time 5.31e-07/2.795, allocations: 0 / 1.614 GB, free: 406 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.009274/2.804, allocations: 2.303 MB / 1.616 GB, free: 405.6 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 46 * Number of states: 4 (conPI.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001808/2.806, allocations: 0.6204 MB / 1.617 GB, free: 405.3 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0116/2.818, allocations: 5.112 MB / 1.622 GB, free: 402.6 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-05/2.818, allocations: 4 kB / 1.622 GB, free: 402.6 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.00251/2.82, allocations: 1.016 MB / 1.623 GB, free: 401.5 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01195/2.832, allocations: 2.141 MB / 1.625 GB, free: 399.5 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0209/2.853, allocations: 9.192 MB / 1.634 GB, free: 390.2 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00402/2.857, allocations: 2.978 MB / 1.637 GB, free: 387.2 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001734/2.859, allocations: 339.6 kB / 1.637 GB, free: 386.9 MB / 1.232 GB Notification: Performance of SimCode: time 8.31e-07/2.859, allocations: 0 / 1.637 GB, free: 386.9 MB / 1.232 GB Notification: Performance of Templates: time 0.1091/2.968, allocations: 87.18 MB / 1.723 GB, free: 300.2 MB / 1.232 GB make -j1 -f Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.makefile (rm -f Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.sim & ./Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches