Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,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.TestCase10") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,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.TestCase10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.529/2.529, allocations: 390.3 MB / 402.8 MB, free: 6.703 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001526/0.001527, allocations: 180.9 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.741/1.741, allocations: 221.3 MB / 0.7915 GB, free: 5.398 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009935/0.0009938, allocations: 87.89 kB / 0.9318 GB, free: 5.695 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.782e-05/3.785e-05, allocations: 5.25 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3728/0.3729, allocations: 143 MB / 1.219 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.325/6.698, allocations: 2.191 GB / 3.41 GB, free: 73.79 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003523/6.699, allocations: 88.86 kB / 3.41 GB, free: 73.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.9664/7.665, allocations: 75.57 MB / 3.484 GB, free: 388.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.693e-06/7.665, allocations: 0.5 kB / 3.484 GB, free: 388.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001989/7.665, allocations: 38.94 kB / 3.484 GB, free: 388.6 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.00436/7.67, allocations: 1.855 MB / 3.486 GB, free: 387.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/7.67, allocations: 12.09 kB / 3.486 GB, free: 387.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006571/7.671, allocations: 244.1 kB / 3.486 GB, free: 387.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005167/7.676, allocations: 1.884 MB / 3.488 GB, free: 387.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001879/7.676, allocations: 98.25 kB / 3.488 GB, free: 387.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000173/7.676, allocations: 77.89 kB / 3.488 GB, free: 387.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/7.678, allocations: 0.7198 MB / 3.489 GB, free: 387.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.59e-05/7.678, allocations: 3.953 kB / 3.489 GB, free: 387.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.01e-05/7.678, allocations: 27.62 kB / 3.489 GB, free: 387.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.323e-05/7.678, allocations: 15.88 kB / 3.489 GB, free: 387.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/7.679, allocations: 0.5524 MB / 3.489 GB, free: 387.1 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007928/7.687, allocations: 3.929 MB / 3.493 GB, free: 385.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001444/7.688, allocations: 0.6572 MB / 3.494 GB, free: 385.4 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006954/7.689, allocations: 378.4 kB / 3.494 GB, free: 385.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 4.942e-05/7.689, allocations: 8.391 kB / 3.494 GB, free: 385.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008485/7.69, allocations: 398.6 kB / 3.495 GB, free: 385.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=72): time 4.489e-06/7.69, allocations: 0 / 3.495 GB, free: 385.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=72): time 0.002625/7.693, allocations: 1.035 MB / 3.496 GB, free: 385.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/7.693, allocations: 60.95 kB / 3.496 GB, free: 385.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007159/7.7, allocations: 2.974 MB / 3.499 GB, free: 384.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.000389/7.7, allocations: 45.8 kB / 3.499 GB, free: 384.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001128/7.701, allocations: 0.9282 MB / 3.499 GB, free: 384.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004273/7.702, allocations: 234.6 kB / 3.5 GB, free: 384.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.5e-05/7.702, allocations: 13.78 kB / 3.5 GB, free: 384.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001282/7.702, allocations: 342.3 kB / 3.5 GB, free: 384.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006344/7.703, allocations: 258.6 kB / 3.5 GB, free: 384.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007635/7.703, allocations: 412.9 kB / 3.501 GB, free: 384.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000752/7.704, allocations: 306.8 kB / 3.501 GB, free: 384.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/7.704, allocations: 1.25 kB / 3.501 GB, free: 384.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003436/7.708, allocations: 1.15 MB / 3.502 GB, free: 383.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.313e-05/7.708, allocations: 7.188 kB / 3.502 GB, free: 383.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/7.708, allocations: 4.125 kB / 3.502 GB, free: 383.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000924/7.709, allocations: 277.2 kB / 3.502 GB, free: 383.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005679/7.709, allocations: 147.2 kB / 3.503 GB, free: 383.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004816/7.714, allocations: 4.628 MB / 3.507 GB, free: 381.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/7.716, allocations: 131.8 kB / 3.507 GB, free: 381.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.214e-05/7.716, allocations: 30.53 kB / 3.507 GB, free: 381.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 30 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition7,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$PRE.outdoorTemp.nextTimeEvent,$whenCondition1,$whenCondition2,reference.nextTimeEvent,$PRE.reference.nextTimeEventScaled,reference.nextTimeEventScaled,$PRE.assEqu.satisfied,assEqu.satisfied,$PRE.mean.y_last,mean.y_last,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(3,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002243/7.716, allocations: 156.8 kB / 3.507 GB, free: 381 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004576/7.716, allocations: 220.9 kB / 3.508 GB, free: 380.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002588/7.719, allocations: 1.147 MB / 3.509 GB, free: 380.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/7.719, allocations: 7.281 kB / 3.509 GB, free: 380.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.537e-06/7.719, allocations: 5.203 kB / 3.509 GB, free: 380.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.532e-05/7.719, allocations: 7.75 kB / 3.509 GB, free: 380.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005809/7.725, allocations: 2.843 MB / 3.511 GB, free: 380.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/7.725, allocations: 4.344 kB / 3.511 GB, free: 380.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003686/7.725, allocations: 80.08 kB / 3.512 GB, free: 380.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007229/7.726, allocations: 264.5 kB / 3.512 GB, free: 380.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.737e-05/7.726, allocations: 25.23 kB / 3.512 GB, free: 380.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004591/7.731, allocations: 4.61 MB / 3.516 GB, free: 377.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/7.731, allocations: 0.6562 kB / 3.516 GB, free: 377.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003402/7.734, allocations: 1.55 MB / 3.518 GB, free: 377.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001248/7.735, allocations: 0.4993 MB / 3.518 GB, free: 377 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002251/7.736, allocations: 30.44 kB / 3.518 GB, free: 377 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005875/7.736, allocations: 64.45 kB / 3.518 GB, free: 377 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002592/7.736, allocations: 77.53 kB / 3.518 GB, free: 377 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.979e-05/7.737, allocations: 27.39 kB / 3.519 GB, free: 377 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003791/7.74, allocations: 2.369 MB / 3.521 GB, free: 376.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.51e-07/7.74, allocations: 3.75 kB / 3.521 GB, free: 376.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002064/7.742, allocations: 472.3 kB / 3.521 GB, free: 376 MB / 1.167 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: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 19,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002035/7.744, allocations: 0.9179 MB / 3.522 GB, free: 375.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001967/7.746, allocations: 1.011 MB / 3.523 GB, free: 375.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/7.746, allocations: 0 / 3.523 GB, free: 375.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001023/7.747, allocations: 0.6915 MB / 3.524 GB, free: 374.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001925/7.749, allocations: 267.7 kB / 3.524 GB, free: 374.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00881/7.758, allocations: 3.656 MB / 3.528 GB, free: 373.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001656/7.76, allocations: 1.599 MB / 3.529 GB, free: 373 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001062/7.761, allocations: 265.6 kB / 3.529 GB, free: 372.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003523/7.761, allocations: 109.7 kB / 3.53 GB, free: 372.9 MB / 1.167 GB Notification: Performance of SimCode: time 1.683e-06/7.761, allocations: 3.656 kB / 3.53 GB, free: 372.9 MB / 1.167 GB Notification: Performance of Templates: time 0.04762/7.809, allocations: 27.02 MB / 3.556 GB, free: 371.2 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10.csv","../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches