Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.294/2.294, allocations: 387.1 MB / 399.7 MB, free: 9.461 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.001187/0.001187, allocations: 172.9 kB / 492.3 MB, free: 0.5977 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 221.3 MB / 0.7872 GB, free: 12.94 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.0008767/0.0008766, allocations: 79.92 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.212e-05/3.215e-05, allocations: 7.984 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3271, allocations: 142.3 MB / 1.212 GB, free: 38.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.034/7.361, allocations: 2.191 GB / 3.404 GB, free: 111.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003375/7.362, allocations: 91.94 kB / 3.404 GB, free: 111.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1749/7.537, allocations: 84.26 MB / 3.486 GB, free: 26.25 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.394e-06/7.537, allocations: 0 / 3.486 GB, free: 26.25 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002857/7.537, allocations: 55.98 kB / 3.486 GB, free: 26.19 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.006818/7.544, allocations: 2.51 MB / 3.489 GB, free: 23.62 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 7.364e-05/7.544, allocations: 15.97 kB / 3.489 GB, free: 23.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001408/7.545, allocations: 352 kB / 3.489 GB, free: 23.25 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007541/7.553, allocations: 2.585 MB / 3.491 GB, free: 20.62 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001828/7.553, allocations: 107.7 kB / 3.491 GB, free: 20.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001552/7.553, allocations: 92 kB / 3.492 GB, free: 20.41 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/7.555, allocations: 0.9422 MB / 3.493 GB, free: 19.46 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.862e-05/7.555, allocations: 4 kB / 3.493 GB, free: 19.46 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-05/7.555, allocations: 39.98 kB / 3.493 GB, free: 19.42 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.936e-05/7.555, allocations: 20 kB / 3.493 GB, free: 19.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/7.557, allocations: 0.7692 MB / 3.493 GB, free: 18.63 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008897/7.565, allocations: 4.906 MB / 3.498 GB, free: 13.46 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001561/7.567, allocations: 0.9339 MB / 3.499 GB, free: 12.51 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007514/7.568, allocations: 0.523 MB / 3.5 GB, free: 11.99 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 7.13e-05/7.568, allocations: 12.77 kB / 3.5 GB, free: 11.98 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008812/7.569, allocations: 0.5709 MB / 3.5 GB, free: 11.39 MB / 1.151 GB Notification: Performance of pre-optimization done (n=104): time 6.021e-06/7.569, allocations: 0 / 3.5 GB, free: 11.39 MB / 1.151 GB Notification: Performance of matching and sorting (n=104): time 0.003517/7.572, allocations: 1.491 MB / 3.502 GB, free: 9.887 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.98e-05/7.572, allocations: 72.39 kB / 3.502 GB, free: 9.801 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008708/7.581, allocations: 4.505 MB / 3.506 GB, free: 5.309 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0004084/7.582, allocations: 53.7 kB / 3.506 GB, free: 5.25 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001122/7.583, allocations: 1.345 MB / 3.507 GB, free: 3.898 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004815/7.583, allocations: 339.4 kB / 3.508 GB, free: 3.562 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.158e-05/7.583, allocations: 24 kB / 3.508 GB, free: 3.539 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001388/7.584, allocations: 353.8 kB / 3.508 GB, free: 3.188 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006133/7.584, allocations: 370.5 kB / 3.508 GB, free: 2.824 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000671/7.585, allocations: 0.5444 MB / 3.509 GB, free: 2.227 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006787/7.586, allocations: 439.8 kB / 3.509 GB, free: 1.797 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/7.586, allocations: 8 kB / 3.509 GB, free: 1.789 MB / 1.151 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00345/7.589, allocations: 1.597 MB / 3.511 GB, free: 180 kB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 3.373e-05/7.589, allocations: 4 kB / 3.511 GB, free: 176 kB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/7.589, allocations: 4 kB / 3.511 GB, free: 172 kB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112/8.701, allocations: 346.1 kB / 3.511 GB, free: 370.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001331/8.702, allocations: 188.7 kB / 3.511 GB, free: 370.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008367/8.711, allocations: 4.978 MB / 3.516 GB, free: 367.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002327/8.713, allocations: 156.1 kB / 3.516 GB, free: 367.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001594/8.713, allocations: 44.27 kB / 3.517 GB, free: 367.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 41 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition9,$whenCondition8,$PRE.intGai.nextTimeEvent,$whenCondition7,$PRE.reference.nextTimeEvent,$whenCondition6,$PRE.outdoorTemp.nextTimeEvent,$whenCondition5,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWall.nextTimeEvent,$whenCondition3,$PRE.HSky.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,outdoorTemp.nextTimeEvent,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,$PRE.tableSolRadWall.nextTimeEventScaled,tableSolRadWall.nextTimeEventScaled,HSky.nextTimeEvent,$PRE.HSky.nextTimeEventScaled,HSky.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 102 * 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,(2,100.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003464/8.714, allocations: 179.8 kB / 3.517 GB, free: 367.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006823/8.714, allocations: 328.9 kB / 3.517 GB, free: 367.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004449/8.719, allocations: 1.682 MB / 3.519 GB, free: 367.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.92e-05/8.719, allocations: 11.62 kB / 3.519 GB, free: 367.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.319e-05/8.719, allocations: 6.109 kB / 3.519 GB, free: 367.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.896e-05/8.719, allocations: 5.906 kB / 3.519 GB, free: 367.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0101/8.729, allocations: 4.102 MB / 3.523 GB, free: 367 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.288e-06/8.729, allocations: 4.438 kB / 3.523 GB, free: 367 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005768/8.73, allocations: 118.5 kB / 3.523 GB, free: 367 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001013/8.731, allocations: 330.5 kB / 3.523 GB, free: 367 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.861e-05/8.731, allocations: 28.88 kB / 3.523 GB, free: 367 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006144/8.737, allocations: 4.968 MB / 3.528 GB, free: 364.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/8.737, allocations: 1.031 kB / 3.528 GB, free: 364.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005555/8.742, allocations: 2.257 MB / 3.53 GB, free: 363.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002145/8.745, allocations: 0.7125 MB / 3.531 GB, free: 363.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003108/8.745, allocations: 34.28 kB / 3.531 GB, free: 363.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008303/8.746, allocations: 85.56 kB / 3.531 GB, free: 363.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004694/8.746, allocations: 105.7 kB / 3.531 GB, free: 363.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/8.746, allocations: 34.42 kB / 3.531 GB, free: 363.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.008311/8.755, allocations: 3.593 MB / 3.535 GB, free: 363.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 8.01e-07/8.755, allocations: 2.438 kB / 3.535 GB, free: 363.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003694/8.758, allocations: 0.6329 MB / 3.535 GB, free: 363.5 MB / 1.151 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: 26 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,tableSolRadWall.nextTimeEventScaled,HSky.nextTimeEvent,HSky.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 15 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,tableSolRadWall.nextTimeEvent,HSky.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,HSky.nextTimeEventScaled,tableSolRadWall.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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 {(2,100.0%) 25,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002429/8.761, allocations: 0.9405 MB / 3.536 GB, free: 363.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003193/8.764, allocations: 1.332 MB / 3.537 GB, free: 363.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/8.764, allocations: 0 / 3.537 GB, free: 363.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001755/8.766, allocations: 0.8804 MB / 3.538 GB, free: 362.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002999/8.769, allocations: 347.1 kB / 3.539 GB, free: 362.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0137/8.783, allocations: 5.386 MB / 3.544 GB, free: 361.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00287/8.786, allocations: 2.03 MB / 3.546 GB, free: 361.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001956/8.788, allocations: 397.7 kB / 3.546 GB, free: 361.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005501/8.788, allocations: 153.1 kB / 3.546 GB, free: 361.1 MB / 1.151 GB Notification: Performance of SimCode: time 1.513e-06/8.788, allocations: 1.281 kB / 3.546 GB, free: 361.1 MB / 1.151 GB Notification: Performance of Templates: time 0.0718/8.86, allocations: 33.67 MB / 3.579 GB, free: 359.2 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9.csv","../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches