Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ISO13790.Examples.HeatingCoolingHVAC.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.ThermalZones.ISO13790.Examples.HeatingCoolingHVAC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zonHVAC.TAir",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ISO13790.Examples.HeatingCoolingHVAC") translateModel(Buildings.ThermalZones.ISO13790.Examples.HeatingCoolingHVAC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zonHVAC.TAir",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ISO13790.Examples.HeatingCoolingHVAC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 115.2 kB / 16.42 MB, free: 6.457 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.001191/0.001191, allocations: 183.9 kB / 17.35 MB, free: 5.734 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.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.75/2.75, allocations: 472.7 MB / 0.746 GB, free: 428 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001377, allocations: 63.91 kB / 1.07 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7242/0.7256, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ISO13790.Examples.HeatingCoolingHVAC): time 0.1854/0.911, allocations: 186.4 MB / 1.408 GB, free: 2.457 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02121/0.9323, allocations: 13.46 MB / 1.421 GB, free: 4.953 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005249/0.9376, allocations: 83.62 kB / 1.422 GB, free: 4.871 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.003949/0.9415, allocations: 0.8944 MB / 1.422 GB, free: 3.969 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.008157/0.9498, allocations: 2.655 MB / 1.425 GB, free: 1.305 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.005816/0.9556, allocations: 2.767 MB / 1.428 GB, free: 14.55 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.01381/0.9694, allocations: 13.56 MB / 1.441 GB, free: 0.9531 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01469/0.9842, allocations: 14.12 MB / 1.455 GB, free: 2.68 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007271/0.9915, allocations: 5.879 MB / 1.46 GB, free: 12.79 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008297/0.9998, allocations: 6.207 MB / 1.467 GB, free: 6.559 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.003338/1.003, allocations: 1.883 MB / 1.468 GB, free: 4.676 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006323/1.009, allocations: 3.193 MB / 1.471 GB, free: 1.48 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.004014/1.014, allocations: 3.488 MB / 1.475 GB, free: 13.98 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.009507/1.023, allocations: 6.347 MB / 1.481 GB, free: 7.613 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.02246/1.046, allocations: 21.07 MB / 1.502 GB, free: 2.48 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/1.046, allocations: 4 kB / 1.502 GB, free: 2.477 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.283e-06/1.046, allocations: 0 / 1.502 GB, free: 2.477 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.0005149/1.046, allocations: 0 / 1.502 GB, free: 2.477 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2355 * Number of variables: 2355 Notification: Performance of Generate backend data structure: time 0.03401/1.08, allocations: 11.51 MB / 1.513 GB, free: 6.816 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/1.08, allocations: 8.031 kB / 1.513 GB, free: 6.809 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05667/1.137, allocations: 11.07 MB / 1.524 GB, free: 11.72 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02149/1.158, allocations: 5.965 MB / 1.53 GB, free: 5.684 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001108/1.16, allocations: 0.6742 MB / 1.53 GB, free: 5.008 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005832/1.165, allocations: 0.8711 MB / 1.531 GB, free: 4.137 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09181/1.257, allocations: 18.45 MB / 1.549 GB, free: 1.582 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003364/1.258, allocations: 7.938 kB / 1.549 GB, free: 1.574 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004207/1.262, allocations: 376 kB / 1.549 GB, free: 1.207 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004582/1.262, allocations: 318 kB / 1.55 GB, free: 0.8945 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.324/2.587, allocations: 23.4 MB / 1.573 GB, free: 308.3 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.08765/2.675, allocations: 44.82 MB / 1.616 GB, free: 280.8 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03302/2.708, allocations: 13.99 MB / 1.63 GB, free: 271.9 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01759/2.725, allocations: 7.893 MB / 1.638 GB, free: 264 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001595/2.727, allocations: 0.8294 MB / 1.639 GB, free: 263.1 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02123/2.748, allocations: 8.761 MB / 1.647 GB, free: 254.3 MB / 1.279 GB Notification: Performance of pre-optimization done (n=684): time 1.51e-05/2.748, allocations: 0 / 1.647 GB, free: 254.3 MB / 1.279 GB Notification: Performance of matching and sorting (n=686): time 0.1035/2.852, allocations: 38.09 MB / 1.684 GB, free: 216.3 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001457/2.852, allocations: 253.3 kB / 1.685 GB, free: 216 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007667/2.86, allocations: 4.371 MB / 1.689 GB, free: 211.6 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.002599/2.862, allocations: 157.7 kB / 1.689 GB, free: 211.5 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.002718/2.865, allocations: 3.183 MB / 1.692 GB, free: 208.6 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.003532/2.868, allocations: 2.343 MB / 1.694 GB, free: 206.3 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006318/2.875, allocations: 1.309 MB / 1.696 GB, free: 205 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 4.111e-05/2.875, allocations: 304.7 kB / 1.696 GB, free: 204.7 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.017/2.892, allocations: 6.898 MB / 1.703 GB, free: 197.8 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01667/2.909, allocations: 7.496 MB / 1.71 GB, free: 190.2 MB / 1.279 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: zonHVAC.vol.dynBal.medium.p = zonHVAC.vol.dynBal.p_start (sin.p = zonHVAC.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 1.271/4.179, allocations: 272.8 MB / 1.976 GB, free: 12.95 MB / 1.373 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.313e-05/4.179, allocations: 0 / 1.976 GB, free: 12.95 MB / 1.373 GB Notification: Performance of matching and sorting (n=795) (initialization): time 0.04751/4.227, allocations: 15.39 MB / 1.991 GB, free: 13.5 MB / 1.389 GB Notification: Performance of prepare postOptimizeDAE: time 5.395e-05/4.227, allocations: 8 kB / 1.991 GB, free: 13.49 MB / 1.389 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.233e-05/4.227, allocations: 8 kB / 1.991 GB, free: 13.48 MB / 1.389 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009612/4.228, allocations: 169.8 kB / 1.992 GB, free: 13.31 MB / 1.389 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01556/4.244, allocations: 2.414 MB / 1.994 GB, free: 10.89 MB / 1.389 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003841/4.247, allocations: 3.579 MB / 1.997 GB, free: 7.035 MB / 1.389 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01218/4.26, allocations: 1.237 MB / 1.999 GB, free: 5.797 MB / 1.389 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002433/4.262, allocations: 315.7 kB / 1.999 GB, free: 5.488 MB / 1.389 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: zonHVAC.vol.dynBal.medium.p = zonHVAC.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 73 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,zonHVAC.opa.HDifTilRof.incAng.decAng.tNext,$PRE.zonHVAC.opa.HDifTilRof.incAng.decAng.tNext,zonHVAC.opa.HDirTilRoo.incAng.decAng.tNext,$PRE.zonHVAC.opa.HDirTilRoo.incAng.decAng.tNext,zonHVAC.opa.HDifTil[4].incAng.decAng.tNext,$PRE.zonHVAC.opa.HDifTil[4].incAng.decAng.tNext,zonHVAC.opa.HDifTil[3].incAng.decAng.tNext,$PRE.zonHVAC.opa.HDifTil[3].incAng.decAng.tNext,zonHVAC.opa.HDifTil[2].incAng.decAng.tNext,$PRE.zonHVAC.opa.HDifTil[2].incAng.decAng.tNext,zonHVAC.opa.HDifTil[1].incAng.decAng.tNext,$PRE.zonHVAC.opa.HDifTil[1].incAng.decAng.tNext,zonHVAC.opa.HDirTil[4].incAng.decAng.tNext,$PRE.zonHVAC.opa.HDirTil[4].incAng.decAng.tNext,zonHVAC.opa.HDirTil[3].incAng.decAng.tNext,$PRE.zonHVAC.opa.HDirTil[3].incAng.decAng.tNext,zonHVAC.opa.HDirTil[2].incAng.decAng.tNext,$PRE.zonHVAC.opa.HDirTil[2].incAng.decAng.tNext,zonHVAC.opa.HDirTil[1].incAng.decAng.tNext,$PRE.zonHVAC.opa.HDirTil[1].incAng.decAng.tNext,zonHVAC.win.HDifTil[4].incAng.decAng.tNext,$PRE.zonHVAC.win.HDifTil[4].incAng.decAng.tNext,zonHVAC.win.HDifTil[3].incAng.decAng.tNext,$PRE.zonHVAC.win.HDifTil[3].incAng.decAng.tNext,zonHVAC.win.HDifTil[2].incAng.decAng.tNext,$PRE.zonHVAC.win.HDifTil[2].incAng.decAng.tNext,zonHVAC.win.HDifTil[1].incAng.decAng.tNext,$PRE.zonHVAC.win.HDifTil[1].incAng.decAng.tNext,zonHVAC.win.HDirTil[4].incAng.decAng.tNext,$PRE.zonHVAC.win.HDirTil[4].incAng.decAng.tNext,zonHVAC.win.HDirTil[3].incAng.decAng.tNext,$PRE.zonHVAC.win.HDirTil[3].incAng.decAng.tNext,zonHVAC.win.HDirTil[2].incAng.decAng.tNext,$PRE.zonHVAC.win.HDirTil[2].incAng.decAng.tNext,zonHVAC.win.HDirTil[1].incAng.decAng.tNext,$PRE.zonHVAC.win.HDirTil[1].incAng.decAng.tNext,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition21,$whenCondition22,$whenCondition23,conCooPID.I.trigger_internal,conHeaPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (786): * Single equations (assignments): 784 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.008612/4.271, allocations: 2.924 MB / 2.002 GB, free: 2.547 MB / 1.389 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003042/4.274, allocations: 0.5589 MB / 2.002 GB, free: 1.984 MB / 1.389 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05277/4.327, allocations: 17.15 MB / 2.019 GB, free: 0.75 MB / 1.404 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04271/4.369, allocations: 14.38 MB / 2.033 GB, free: 2.281 MB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.469e-05/4.369, allocations: 3.938 kB / 2.033 GB, free: 2.277 MB / 1.42 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008838/4.378, allocations: 2.328 MB / 2.035 GB, free: 15.93 MB / 1.436 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004863/4.383, allocations: 195.6 kB / 2.036 GB, free: 15.73 MB / 1.436 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01178/4.395, allocations: 1.235 MB / 2.037 GB, free: 14.5 MB / 1.436 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002032/4.397, allocations: 0.5049 MB / 2.037 GB, free: 13.99 MB / 1.436 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.05189/4.449, allocations: 16.24 MB / 2.053 GB, free: 13.68 MB / 1.451 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.06495/4.514, allocations: 25.46 MB / 2.078 GB, free: 4.117 MB / 1.467 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01924/4.533, allocations: 7.633 MB / 2.086 GB, free: 12.46 MB / 1.483 GB Notification: Performance of sorting global known variables: time 0.006872/4.54, allocations: 3.338 MB / 2.089 GB, free: 9.121 MB / 1.483 GB Notification: Performance of Backend: time 7.22e-07/4.54, allocations: 4 kB / 2.089 GB, free: 9.117 MB / 1.483 GB Notification: Performance of simCode: created initialization part: time 0.03316/4.573, allocations: 9.687 MB / 2.098 GB, free: 15.65 MB / 1.498 GB Notification: Performance of SimCode: time 0.03382/4.607, allocations: 15.39 MB / 2.113 GB, free: 208 kB / 1.498 GB Notification: Performance of Templates: time 0.8205/5.428, allocations: 157.8 MB / 2.267 GB, free: 462.2 MB / 1.529 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ISO13790.Examples.HeatingCoolingHVAC.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ISO13790.Examples.HeatingCoolingHVAC.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ISO13790.Examples.HeatingCoolingHVAC.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ISO13790.Examples.HeatingCoolingHVAC.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ISO13790.Examples.HeatingCoolingHVAC.sim & ./Buildings_latest_Buildings.ThermalZones.ISO13790.Examples.HeatingCoolingHVAC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ISO13790.Examples.HeatingCoolingHVAC.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ISO13790.Examples.HeatingCoolingHVAC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ISO13790_Examples_HeatingCoolingHVAC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ISO13790.Examples.HeatingCoolingHVAC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches