Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007616/0.007616, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.002102/0.002102, allocations: 194.4 kB / 16.79 MB, free: 5.809 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.407/1.407, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.663/2.663, allocations: 461.8 MB / 0.7348 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 63.64 kB / 0.899 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2688/0.2702, allocations: 157.4 MB / 1.053 GB, free: 8.289 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1492/0.4195, allocations: 154.5 MB / 1.204 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02295/0.4425, allocations: 21.6 MB / 1.225 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001702/0.4442, allocations: 51.69 kB / 1.225 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001425/0.4457, allocations: 1.122 MB / 1.226 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001207/0.4469, allocations: 0.8138 MB / 1.227 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009798/0.4479, allocations: 386.1 kB / 1.227 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001153/0.4491, allocations: 1.352 MB / 1.228 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000629/0.4497, allocations: 0.6045 MB / 1.229 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005046/0.4502, allocations: 0.4943 MB / 1.229 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008831/0.4511, allocations: 0.9176 MB / 1.23 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.566e-05/0.4512, allocations: 36 kB / 1.23 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002141/0.4514, allocations: 75.98 kB / 1.23 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002531/0.4517, allocations: 304.7 kB / 1.231 GB, free: 1.402 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003588/0.4521, allocations: 472.8 kB / 1.231 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006886/0.4528, allocations: 0.9083 MB / 1.232 GB, free: 28 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.4528, allocations: 0 / 1.232 GB, free: 28 kB / 0.9825 GB Notification: Performance of FrontEnd: time 6.91e-07/0.4528, allocations: 0 / 1.232 GB, free: 28 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.497e-06/0.4528, allocations: 0 / 1.232 GB, free: 28 kB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.00205/0.4548, allocations: 1.479 MB / 1.233 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.4549, allocations: 11.97 kB / 1.233 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001675/0.4551, allocations: 139.3 kB / 1.234 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007517/0.4558, allocations: 0.6627 MB / 1.234 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/0.4559, allocations: 74.69 kB / 1.234 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.411e-05/0.456, allocations: 44 kB / 1.234 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009107/0.4569, allocations: 0.5223 MB / 1.235 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.457, allocations: 8 kB / 1.235 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.94e-05/0.457, allocations: 20 kB / 1.235 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.457, allocations: 12 kB / 1.235 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007926/0.4578, allocations: 407.7 kB / 1.235 GB, free: 12.54 MB / 0.9981 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.003196/0.4611, allocations: 2.731 MB / 1.238 GB, free: 9.566 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009102/0.462, allocations: 440 kB / 1.238 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005998/0.4626, allocations: 305.3 kB / 1.239 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.59e-05/0.4626, allocations: 8.641 kB / 1.239 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005294/0.4632, allocations: 287.1 kB / 1.239 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=44): time 1.823e-06/0.4632, allocations: 0 / 1.239 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of matching and sorting (n=44): time 0.00255/0.4657, allocations: 1.148 MB / 1.24 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.4658, allocations: 59.39 kB / 1.24 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001661/0.4675, allocations: 1.756 MB / 1.242 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.204e-05/0.4675, allocations: 37.7 kB / 1.242 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003903/0.4679, allocations: 0.5249 MB / 1.242 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/0.468, allocations: 146 kB / 1.243 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001436/0.4682, allocations: 102.2 kB / 1.243 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.771e-05/0.4683, allocations: 326 kB / 1.243 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004596/0.4688, allocations: 213 kB / 1.243 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005156/0.4693, allocations: 339.1 kB / 1.243 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008588/0.4701, allocations: 0.515 MB / 1.244 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.4702, allocations: 3.938 kB / 1.244 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001472/0.4716, allocations: 0.8106 MB / 1.245 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.4717, allocations: 5.719 kB / 1.245 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.4717, allocations: 7.938 kB / 1.245 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003962/0.4721, allocations: 136.8 kB / 1.245 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003847/0.4725, allocations: 103.9 kB / 1.245 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4633/0.9358, allocations: 2.379 MB / 1.247 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005702/0.9364, allocations: 80.91 kB / 1.247 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-05/0.9364, allocations: 23.75 kB / 1.247 GB, free: 194.3 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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 {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004803/0.9369, allocations: 390.9 kB / 1.248 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.937, allocations: 117.7 kB / 1.248 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001993/0.9372, allocations: 141 kB / 1.248 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/0.9372, allocations: 5.188 kB / 1.248 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.9373, allocations: 3.609 kB / 1.248 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.9373, allocations: 2.672 kB / 1.248 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002245/0.9395, allocations: 1.498 MB / 1.25 GB, free: 193.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.9395, allocations: 0 / 1.25 GB, free: 193.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002457/0.9398, allocations: 44.47 kB / 1.25 GB, free: 193.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004024/0.9402, allocations: 164.3 kB / 1.25 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.467e-05/0.9403, allocations: 12.09 kB / 1.25 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002735/0.943, allocations: 3.685 MB / 1.253 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.943, allocations: 3.188 kB / 1.253 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001506/0.9445, allocations: 0.9848 MB / 1.254 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002037/0.9447, allocations: 211.4 kB / 1.255 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.16e-05/0.9448, allocations: 16.48 kB / 1.255 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003205/0.9452, allocations: 35.86 kB / 1.255 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.9453, allocations: 49.25 kB / 1.255 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.528e-05/0.9453, allocations: 18.64 kB / 1.255 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001096/0.9464, allocations: 1.293 MB / 1.256 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.242e-06/0.9464, allocations: 3.688 kB / 1.256 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007371/0.9472, allocations: 209.4 kB / 1.256 GB, free: 190.8 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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): 2 systems {(2,12,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00104/0.9482, allocations: 481 kB / 1.257 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001205/0.9494, allocations: 0.6628 MB / 1.257 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.9495, allocations: 0 / 1.257 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006634/0.9501, allocations: 0.5268 MB / 1.258 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009535/0.9511, allocations: 192.1 kB / 1.258 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003174/0.9543, allocations: 2.74 MB / 1.261 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005654/0.9549, allocations: 1.142 MB / 1.262 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.955, allocations: 46.89 kB / 1.262 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of SimCode: time 5.01e-07/0.955, allocations: 0 / 1.262 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.02704/0.9821, allocations: 17.8 MB / 1.279 GB, free: 182.9 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches