Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.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.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=17520,variableFilter="time|thermalZoneOneElement.TAir",fileNamePrefix="Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=17520,variableFilter="time|thermalZoneOneElement.TAir",fileNamePrefix="Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 103.6 kB / 16.27 MB, free: 6.418 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.001536/0.001536, allocations: 190.1 kB / 17.2 MB, free: 5.949 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.409/1.409, 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.716/2.716, allocations: 437.1 MB / 0.7111 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001928, allocations: 68.91 kB / 0.8699 GB, free: 2.137 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3057, allocations: 151.6 MB / 1.018 GB, free: 10.57 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.6769/0.9826, allocations: 162 MB / 1.176 GB, free: 12.06 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.03912/1.022, allocations: 26.93 MB / 1.202 GB, free: 6.176 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004009/1.026, allocations: 70.97 kB / 1.203 GB, free: 6.152 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003069/1.029, allocations: 1.044 MB / 1.204 GB, free: 5.402 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006274/1.035, allocations: 1.785 MB / 1.205 GB, free: 4.047 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005934/1.041, allocations: 1.722 MB / 1.207 GB, free: 2.68 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.007811/1.049, allocations: 5.256 MB / 1.212 GB, free: 15.54 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006103/1.055, allocations: 4.172 MB / 1.216 GB, free: 12.97 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004903/1.06, allocations: 2.093 MB / 1.218 GB, free: 11.79 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005026/1.065, allocations: 2.511 MB / 1.221 GB, free: 9.66 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.001677/1.067, allocations: 464 kB / 1.221 GB, free: 9.207 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003677/1.071, allocations: 1.042 MB / 1.222 GB, free: 8.164 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001779/1.073, allocations: 1.172 MB / 1.223 GB, free: 6.988 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.004617/1.077, allocations: 2.13 MB / 1.225 GB, free: 4.848 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.008918/1.086, allocations: 5.846 MB / 1.231 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/1.086, allocations: 4 kB / 1.231 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.194e-06/1.086, allocations: 0 / 1.231 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0001727/1.086, allocations: 0 / 1.231 GB, free: 14.98 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 815 * Number of variables: 815 Notification: Performance of Generate backend data structure: time 0.01218/1.099, allocations: 4.616 MB / 1.236 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.644e-05/1.099, allocations: 16.56 kB / 1.236 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01415/1.113, allocations: 2.769 MB / 1.238 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00536/1.118, allocations: 2.267 MB / 1.24 GB, free: 5.137 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002864/1.118, allocations: 234.4 kB / 1.241 GB, free: 4.906 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00106/1.12, allocations: 316 kB / 1.241 GB, free: 4.598 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01317/1.133, allocations: 5.158 MB / 1.246 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.491e-05/1.133, allocations: 0 / 1.246 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004278/1.133, allocations: 132 kB / 1.246 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.429e-05/1.133, allocations: 76 kB / 1.246 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01683/1.15, allocations: 6.287 MB / 1.252 GB, free: 8.855 MB / 0.9512 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.03163/1.182, allocations: 14.9 MB / 1.267 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01204/1.194, allocations: 4.712 MB / 1.272 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006053/1.2, allocations: 2.437 MB / 1.274 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001096/1.201, allocations: 0.6657 MB / 1.275 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006464/1.208, allocations: 2.636 MB / 1.277 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=278): time 6.572e-06/1.208, allocations: 0 / 1.277 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=278): time 0.02004/1.228, allocations: 7.385 MB / 1.284 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001618/1.228, allocations: 214.1 kB / 1.285 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003766/1.232, allocations: 2.425 MB / 1.287 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.000752/1.233, allocations: 81.69 kB / 1.287 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001464/1.234, allocations: 1.345 MB / 1.288 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.001522/1.236, allocations: 0.9049 MB / 1.289 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001041/1.237, allocations: 0.5164 MB / 1.29 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001352/1.237, allocations: 305.1 kB / 1.29 GB, free: 1.293 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005143/1.242, allocations: 2.023 MB / 1.292 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005685/1.248, allocations: 2.344 MB / 1.294 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01061/1.258, allocations: 4.273 MB / 1.298 GB, free: 8.484 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.66e-05/1.258, allocations: 112 / 1.298 GB, free: 8.484 MB / 0.9981 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.01301/1.271, allocations: 5.005 MB / 1.303 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.02e-05/1.271, allocations: 8 kB / 1.303 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/1.271, allocations: 4 kB / 1.303 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006758/1.272, allocations: 234.7 kB / 1.304 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004272/1.276, allocations: 0.8112 MB / 1.304 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004565/1.281, allocations: 3.384 MB / 1.308 GB, free: 14.86 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004332/1.285, allocations: 0.5518 MB / 1.308 GB, free: 14.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005298/1.286, allocations: 119.9 kB / 1.308 GB, free: 14.18 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 34 ($PRE.intGai.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,HDirTil[2].incAng.decAng.tNext,$PRE.HDirTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,$PRE.HDirTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,$PRE.HDifTil[2].incAng.decAng.tNext,HDifTil[1].incAng.decAng.tNext,$PRE.HDifTil[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,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (300): * Single equations (assignments): 299 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 {(2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002045/1.288, allocations: 0.9499 MB / 1.309 GB, free: 13.23 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007125/1.289, allocations: 272.6 kB / 1.31 GB, free: 12.96 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01391/1.303, allocations: 5.633 MB / 1.315 GB, free: 7.262 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.874e-05/1.303, allocations: 31.94 kB / 1.315 GB, free: 7.23 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/1.303, allocations: 4 kB / 1.315 GB, free: 7.227 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.463e-05/1.303, allocations: 11.95 kB / 1.315 GB, free: 7.215 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005903/1.309, allocations: 3.695 MB / 1.319 GB, free: 3.457 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/1.309, allocations: 0 / 1.319 GB, free: 3.457 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003939/1.313, allocations: 0.745 MB / 1.319 GB, free: 2.711 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009332/1.314, allocations: 266.2 kB / 1.32 GB, free: 2.441 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004757/1.314, allocations: 79.92 kB / 1.32 GB, free: 2.363 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005726/1.32, allocations: 5.237 MB / 1.325 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/1.32, allocations: 0 / 1.325 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01911/1.339, allocations: 8.03 MB / 1.333 GB, free: 4.707 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002022/1.341, allocations: 0.8248 MB / 1.333 GB, free: 3.859 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006981/1.342, allocations: 67.92 kB / 1.334 GB, free: 3.793 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003387/1.345, allocations: 415.4 kB / 1.334 GB, free: 3.387 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005043/1.346, allocations: 206 kB / 1.334 GB, free: 3.184 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002768/1.346, allocations: 107.9 kB / 1.334 GB, free: 3.078 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.00288/1.349, allocations: 1.769 MB / 1.336 GB, free: 1.297 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.61e-07/1.349, allocations: 0 / 1.336 GB, free: 1.297 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.003502/1.352, allocations: 1.067 MB / 1.337 GB, free: 232 kB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (thermalZoneOneElement.volAir.dynBal.U,thermalZoneOneElement.volAir.dynBal.m,thermalZoneOneElement.extWallRC.thermCapExt[1].T) * Number of discrete variables: 21 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,HDirTil[2].incAng.decAng.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 11 (intGai.nextTimeEventScaled,intGai.nextTimeEvent,HDirTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,HDifTil[1].incAng.decAng.tNext,weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.tNext,weaDat.locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (276): * Single equations (assignments): 262 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,16,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003836/1.356, allocations: 1.063 MB / 1.338 GB, free: 15.5 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.02235/1.379, allocations: 8.53 MB / 1.346 GB, free: 6.926 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/1.379, allocations: 0 / 1.346 GB, free: 6.926 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.007146/1.386, allocations: 2.777 MB / 1.349 GB, free: 4.121 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003805/1.39, allocations: 0.6989 MB / 1.35 GB, free: 3.457 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01639/1.406, allocations: 7.963 MB / 1.358 GB, free: 11.45 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002262/1.408, allocations: 2.369 MB / 1.36 GB, free: 9.047 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001915/1.41, allocations: 331.1 kB / 1.36 GB, free: 8.727 MB / 1.061 GB Notification: Performance of SimCode: time 9.12e-07/1.41, allocations: 4 kB / 1.36 GB, free: 8.723 MB / 1.061 GB Notification: Performance of Templates: time 0.1171/1.527, allocations: 84.58 MB / 1.443 GB, free: 4.215 MB / 1.139 GB make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.makefile (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches