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.001383/0.001383, allocations: 110.5 kB / 16.41 MB, free: 6.496 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.001463/0.001463, allocations: 183 kB / 17.34 MB, free: 5.762 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.08 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.508/2.508, allocations: 437.1 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 63.89 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8573/0.8588, allocations: 151.6 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.1775/1.036, allocations: 162 MB / 1.325 GB, free: 1.211 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.03572/1.072, allocations: 26.93 MB / 1.352 GB, free: 6.195 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003565/1.076, allocations: 71.62 kB / 1.352 GB, free: 6.125 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002959/1.079, allocations: 1.041 MB / 1.353 GB, free: 5.078 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005876/1.085, allocations: 1.812 MB / 1.355 GB, free: 3.262 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004784/1.089, allocations: 1.735 MB / 1.356 GB, free: 1.535 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.007533/1.097, allocations: 5.281 MB / 1.361 GB, free: 12.23 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00649/1.103, allocations: 4.166 MB / 1.366 GB, free: 7.996 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004344/1.108, allocations: 2.136 MB / 1.368 GB, free: 5.855 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004069/1.112, allocations: 2.523 MB / 1.37 GB, free: 3.324 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001837/1.114, allocations: 456 kB / 1.371 GB, free: 2.879 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003575/1.117, allocations: 1.066 MB / 1.372 GB, free: 1.812 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.002121/1.12, allocations: 1.172 MB / 1.373 GB, free: 0.6367 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.00424/1.124, allocations: 2.127 MB / 1.375 GB, free: 14.5 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0096/1.133, allocations: 5.99 MB / 1.381 GB, free: 8.488 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/1.133, allocations: 0 / 1.381 GB, free: 8.488 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.784e-06/1.133, allocations: 4 kB / 1.381 GB, free: 8.484 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0002393/1.134, allocations: 0 / 1.381 GB, free: 8.484 MB / 1.107 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.01304/1.147, allocations: 4.736 MB / 1.385 GB, free: 3.652 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/1.147, allocations: 8.031 kB / 1.385 GB, free: 3.645 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01438/1.161, allocations: 2.794 MB / 1.388 GB, free: 0.8438 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005801/1.167, allocations: 2.331 MB / 1.39 GB, free: 14.44 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000282/1.167, allocations: 238.4 kB / 1.39 GB, free: 14.2 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001274/1.169, allocations: 312 kB / 1.391 GB, free: 13.9 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01468/1.183, allocations: 5.162 MB / 1.396 GB, free: 8.656 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001121/1.184, allocations: 0 / 1.396 GB, free: 8.656 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009427/1.184, allocations: 132 kB / 1.396 GB, free: 8.527 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.528e-05/1.185, allocations: 79.94 kB / 1.396 GB, free: 8.449 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01681/1.201, allocations: 6.291 MB / 1.402 GB, free: 2.148 MB / 1.123 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.03185/1.233, allocations: 14.81 MB / 1.417 GB, free: 2.711 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01207/1.245, allocations: 4.707 MB / 1.421 GB, free: 14 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005981/1.251, allocations: 2.437 MB / 1.424 GB, free: 11.55 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00112/1.253, allocations: 0.6736 MB / 1.424 GB, free: 10.75 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006976/1.26, allocations: 2.637 MB / 1.427 GB, free: 8.074 MB / 1.154 GB Notification: Performance of pre-optimization done (n=278): time 6.372e-06/1.26, allocations: 0 / 1.427 GB, free: 8.074 MB / 1.154 GB Notification: Performance of matching and sorting (n=278): time 0.02121/1.281, allocations: 7.406 MB / 1.434 GB, free: 0.5508 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001433/1.281, allocations: 210.1 kB / 1.434 GB, free: 308 kB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004241/1.285, allocations: 2.433 MB / 1.437 GB, free: 13.84 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0007527/1.286, allocations: 81.64 kB / 1.437 GB, free: 13.75 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001454/1.287, allocations: 1.364 MB / 1.438 GB, free: 12.38 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.001563/1.289, allocations: 0.9606 MB / 1.439 GB, free: 11.41 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002034/1.291, allocations: 0.5049 MB / 1.44 GB, free: 10.89 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001131/1.291, allocations: 305.1 kB / 1.44 GB, free: 10.59 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005345/1.297, allocations: 2.031 MB / 1.442 GB, free: 8.559 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005851/1.302, allocations: 2.34 MB / 1.444 GB, free: 6.145 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01121/1.314, allocations: 4.273 MB / 1.448 GB, free: 1.785 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.77e-05/1.314, allocations: 4 kB / 1.448 GB, free: 1.781 MB / 1.17 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.01494/1.329, allocations: 5.018 MB / 1.453 GB, free: 12.71 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.346e-05/1.329, allocations: 4 kB / 1.453 GB, free: 12.7 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/1.329, allocations: 4 kB / 1.453 GB, free: 12.7 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007237/1.33, allocations: 236.9 kB / 1.453 GB, free: 12.46 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0047/1.334, allocations: 0.8073 MB / 1.454 GB, free: 11.66 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004569/1.339, allocations: 3.381 MB / 1.457 GB, free: 8.145 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004509/1.343, allocations: 0.567 MB / 1.458 GB, free: 7.578 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008153/1.344, allocations: 119.9 kB / 1.458 GB, free: 7.461 MB / 1.186 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.003132/1.347, allocations: 0.946 MB / 1.459 GB, free: 6.504 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001377/1.349, allocations: 282.2 kB / 1.459 GB, free: 6.227 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01691/1.366, allocations: 5.623 MB / 1.465 GB, free: 0.5391 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-05/1.366, allocations: 28 kB / 1.465 GB, free: 0.5117 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-05/1.366, allocations: 4 kB / 1.465 GB, free: 0.5078 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.162e-05/1.366, allocations: 15.94 kB / 1.465 GB, free: 0.4922 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007473/1.373, allocations: 3.696 MB / 1.468 GB, free: 12.74 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.906e-05/1.373, allocations: 4 kB / 1.468 GB, free: 12.73 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004364/1.378, allocations: 0.7448 MB / 1.469 GB, free: 11.99 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009855/1.379, allocations: 266.4 kB / 1.469 GB, free: 11.72 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006932/1.38, allocations: 87.92 kB / 1.47 GB, free: 11.63 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005568/1.385, allocations: 5.228 MB / 1.475 GB, free: 6.102 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/1.385, allocations: 0 / 1.475 GB, free: 6.102 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02057/1.406, allocations: 8.047 MB / 1.483 GB, free: 13.96 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00233/1.408, allocations: 0.842 MB / 1.483 GB, free: 13.1 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001114/1.409, allocations: 63.89 kB / 1.483 GB, free: 13.04 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003836/1.413, allocations: 418 kB / 1.484 GB, free: 12.63 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007079/1.414, allocations: 206 kB / 1.484 GB, free: 12.43 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005716/1.414, allocations: 111.9 kB / 1.484 GB, free: 12.32 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.003232/1.418, allocations: 1.769 MB / 1.486 GB, free: 10.54 MB / 1.217 GB Notification: Performance of sort global known variables: time 3.01e-07/1.418, allocations: 0 / 1.486 GB, free: 10.54 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.003963/1.422, allocations: 1.072 MB / 1.487 GB, free: 9.465 MB / 1.217 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.003065/1.425, allocations: 1.06 MB / 1.488 GB, free: 8.668 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.01319/1.438, allocations: 4.901 MB / 1.493 GB, free: 3.723 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/1.438, allocations: 0 / 1.493 GB, free: 3.723 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.007278/1.445, allocations: 2.781 MB / 1.495 GB, free: 0.9102 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004685/1.45, allocations: 0.7027 MB / 1.496 GB, free: 240 kB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01849/1.469, allocations: 7.98 MB / 1.504 GB, free: 8.195 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003216/1.472, allocations: 2.381 MB / 1.506 GB, free: 5.789 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002561/1.474, allocations: 323.2 kB / 1.507 GB, free: 5.473 MB / 1.232 GB Notification: Performance of SimCode: time 1.072e-06/1.474, allocations: 0 / 1.507 GB, free: 5.473 MB / 1.232 GB Notification: Performance of Templates: time 0.7195/2.194, allocations: 84.93 MB / 1.589 GB, free: 362.4 MB / 1.279 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=480 -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