Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.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.ThermalZoneHVACNoExhaust,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.ThermalZoneHVACNoExhaust") translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,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.ThermalZoneHVACNoExhaust") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 112.7 kB / 16.38 MB, free: 5.957 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.001416/0.001416, allocations: 190.2 kB / 17.31 MB, free: 5.582 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.362/1.362, allocations: 222.9 MB / 241 MB, free: 14.97 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.481/2.481, allocations: 442.6 MB / 0.7166 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 75.88 kB / 0.8774 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.348, allocations: 153 MB / 1.027 GB, free: 2.051 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 1.001/1.349, allocations: 342.9 MB / 1.362 GB, free: 6.07 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.05033/1.399, allocations: 38.37 MB / 1.399 GB, free: 15.58 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006754/1.406, allocations: 135.2 kB / 1.399 GB, free: 15.45 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.00982/1.416, allocations: 3.148 MB / 1.402 GB, free: 12.29 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.01738/1.433, allocations: 5.945 MB / 1.408 GB, free: 6.32 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.008971/1.442, allocations: 3.131 MB / 1.411 GB, free: 3.215 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.01854/1.461, allocations: 11.46 MB / 1.422 GB, free: 7.727 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00892/1.469, allocations: 4.225 MB / 1.426 GB, free: 3.414 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01389/1.483, allocations: 4.924 MB / 1.431 GB, free: 14.47 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006987/1.49, allocations: 2.777 MB / 1.434 GB, free: 11.7 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.001935/1.492, allocations: 380 kB / 1.434 GB, free: 11.33 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01272/1.505, allocations: 5.313 MB / 1.44 GB, free: 6.008 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.002751/1.508, allocations: 1.41 MB / 1.441 GB, free: 4.594 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.005259/1.513, allocations: 2.259 MB / 1.443 GB, free: 2.324 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.01576/1.529, allocations: 7.7 MB / 1.451 GB, free: 10.6 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 8.677e-06/1.529, allocations: 0 / 1.451 GB, free: 10.6 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.254e-06/1.529, allocations: 0 / 1.451 GB, free: 10.6 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0002414/1.529, allocations: 0 / 1.451 GB, free: 10.6 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 649 * Number of variables: 649 Notification: Performance of Generate backend data structure: time 0.01323/1.543, allocations: 4.792 MB / 1.455 GB, free: 5.715 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/1.543, allocations: 8.031 kB / 1.455 GB, free: 5.707 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009174/1.552, allocations: 1.489 MB / 1.457 GB, free: 4.211 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009296/1.561, allocations: 3.905 MB / 1.461 GB, free: 244 kB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003819/1.562, allocations: 294.2 kB / 1.461 GB, free: 15.93 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008572/1.562, allocations: 252 kB / 1.461 GB, free: 15.68 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009038/1.572, allocations: 3.374 MB / 1.464 GB, free: 12.2 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.978e-05/1.572, allocations: 0 / 1.464 GB, free: 12.2 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006377/1.572, allocations: 112 kB / 1.465 GB, free: 12.09 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001457/1.572, allocations: 104.9 kB / 1.465 GB, free: 11.98 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008664/1.581, allocations: 2.982 MB / 1.468 GB, free: 8.988 MB / 1.17 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.0255/1.607, allocations: 14.57 MB / 1.482 GB, free: 9.324 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003546/1.61, allocations: 1.576 MB / 1.483 GB, free: 7.707 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001534/1.612, allocations: 0.6921 MB / 1.484 GB, free: 7.016 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004416/1.612, allocations: 300.3 kB / 1.484 GB, free: 6.668 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001858/1.614, allocations: 0.8137 MB / 1.485 GB, free: 5.828 MB / 1.186 GB Notification: Performance of pre-optimization done (n=103): time 3.095e-06/1.614, allocations: 0 / 1.485 GB, free: 5.828 MB / 1.186 GB Notification: Performance of matching and sorting (n=103): time 0.006172/1.62, allocations: 2.189 MB / 1.487 GB, free: 3.613 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.359e-05/1.62, allocations: 115.8 kB / 1.487 GB, free: 3.473 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005077/1.626, allocations: 3.19 MB / 1.49 GB, free: 300 kB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0003211/1.626, allocations: 53.7 kB / 1.49 GB, free: 240 kB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001552/1.627, allocations: 1.719 MB / 1.492 GB, free: 14.5 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004482/1.628, allocations: 370.8 kB / 1.493 GB, free: 14.13 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007193/1.629, allocations: 479.3 kB / 1.493 GB, free: 13.65 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 9.792e-05/1.629, allocations: 309.1 kB / 1.493 GB, free: 13.35 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002156/1.631, allocations: 0.9228 MB / 1.494 GB, free: 12.42 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002732/1.634, allocations: 1.707 MB / 1.496 GB, free: 10.37 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004296/1.638, allocations: 2.495 MB / 1.498 GB, free: 7.57 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.61e-05/1.638, allocations: 4 kB / 1.498 GB, free: 7.566 MB / 1.201 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.006612/1.645, allocations: 2.909 MB / 1.501 GB, free: 4.645 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 6.092e-05/1.645, allocations: 45.7 kB / 1.501 GB, free: 4.594 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.655e-05/1.645, allocations: 28.03 kB / 1.501 GB, free: 4.566 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.512e-05/1.645, allocations: 32 kB / 1.501 GB, free: 4.535 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002126/1.647, allocations: 0.5108 MB / 1.502 GB, free: 4.023 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.514e-05/1.647, allocations: 43.86 kB / 1.502 GB, free: 3.98 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003201/1.65, allocations: 385.3 kB / 1.502 GB, free: 3.602 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002015/1.65, allocations: 104 kB / 1.502 GB, free: 3.5 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003679/1.654, allocations: 1.726 MB / 1.504 GB, free: 1.766 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002716/1.657, allocations: 1.703 MB / 1.506 GB, free: 15.72 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004463/1.661, allocations: 2.493 MB / 1.508 GB, free: 12.92 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.27e-05/1.661, allocations: 4 kB / 1.508 GB, free: 12.91 MB / 1.217 GB Notification: Performance of matching and sorting (n=282) (initialization_lambda0): time 0.006715/1.668, allocations: 2.912 MB / 1.511 GB, free: 9.984 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 5.329e-05/1.668, allocations: 41.69 kB / 1.511 GB, free: 9.938 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-05/1.668, allocations: 24.66 kB / 1.511 GB, free: 9.914 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.798e-05/1.668, allocations: 39.94 kB / 1.511 GB, free: 9.875 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002134/1.67, allocations: 0.5031 MB / 1.511 GB, free: 9.371 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.806e-05/1.67, allocations: 51.78 kB / 1.512 GB, free: 9.32 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003343/1.674, allocations: 318.5 kB / 1.512 GB, free: 9.008 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001951/1.674, allocations: 95.98 kB / 1.512 GB, free: 8.914 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * 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 (247): * Single equations (assignments): 243 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.0005025/1.675, allocations: 315.1 kB / 1.512 GB, free: 8.602 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005758/1.675, allocations: 323.9 kB / 1.513 GB, free: 8.281 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004053/1.679, allocations: 1.668 MB / 1.514 GB, free: 6.598 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002955/1.682, allocations: 1.298 MB / 1.515 GB, free: 5.266 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/1.682, allocations: 4 kB / 1.515 GB, free: 5.262 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001241/1.683, allocations: 0.5436 MB / 1.516 GB, free: 4.695 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003702/1.684, allocations: 20 kB / 1.516 GB, free: 4.676 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00175/1.686, allocations: 131.9 kB / 1.516 GB, free: 4.547 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/1.686, allocations: 68.89 kB / 1.516 GB, free: 4.48 MB / 1.217 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003958/1.69, allocations: 1.506 MB / 1.518 GB, free: 2.965 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005036/1.695, allocations: 2.386 MB / 1.52 GB, free: 0.5586 MB / 1.217 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001351/1.696, allocations: 0.6246 MB / 1.521 GB, free: 15.93 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.003472/1.7, allocations: 2.152 MB / 1.523 GB, free: 13.8 MB / 1.232 GB Notification: Performance of Backend: time 8.42e-07/1.7, allocations: 0 / 1.523 GB, free: 13.8 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.01002/1.71, allocations: 4.055 MB / 1.527 GB, free: 9.742 MB / 1.232 GB Notification: Performance of SimCode: time 0.01332/1.723, allocations: 7.22 MB / 1.534 GB, free: 2.496 MB / 1.232 GB Notification: Performance of Templates: time 0.6411/2.364, allocations: 72.21 MB / 1.604 GB, free: 411.7 MB / 1.232 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.makefile (rm -f Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.sim & ./Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches