Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.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.TestCase8,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.TestCase8") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8,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.TestCase8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.405/2.405, allocations: 387.1 MB / 399.7 MB, free: 9.484 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.001004/0.001004, allocations: 172.9 kB / 492.3 MB, free: 0.6172 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.473/1.473, allocations: 221.3 MB / 0.7872 GB, free: 12.93 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.0009331/0.0009328, allocations: 99.25 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.031e-05/3.033e-05, allocations: 7.984 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.298, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.11/7.408, allocations: 2.191 GB / 3.403 GB, free: 87.48 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003685/7.408, allocations: 96 kB / 3.403 GB, free: 87.43 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.165/7.573, allocations: 81.1 MB / 3.483 GB, free: 9.301 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.758e-06/7.573, allocations: 0 / 3.483 GB, free: 9.301 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001975/7.573, allocations: 55.81 kB / 3.483 GB, free: 9.246 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: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.004929/7.578, allocations: 2.302 MB / 3.485 GB, free: 6.879 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 8.049e-05/7.579, allocations: 8.031 kB / 3.485 GB, free: 6.871 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008557/7.579, allocations: 316.5 kB / 3.485 GB, free: 6.559 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00687/7.586, allocations: 2.435 MB / 3.488 GB, free: 4.066 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000209/7.587, allocations: 107.7 kB / 3.488 GB, free: 3.953 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000165/7.587, allocations: 84 kB / 3.488 GB, free: 3.871 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001773/7.588, allocations: 0.8992 MB / 3.489 GB, free: 2.961 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.117e-05/7.589, allocations: 4 kB / 3.489 GB, free: 2.957 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.996e-05/7.589, allocations: 35.98 kB / 3.489 GB, free: 2.922 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.367e-05/7.589, allocations: 23.98 kB / 3.489 GB, free: 2.898 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001249/7.59, allocations: 0.7302 MB / 3.489 GB, free: 2.168 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.02/8.61, allocations: 4.692 MB / 3.494 GB, free: 372.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002418/8.612, allocations: 0.9017 MB / 3.495 GB, free: 372.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001191/8.614, allocations: 491.7 kB / 3.495 GB, free: 372.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 7.061e-05/8.614, allocations: 13.94 kB / 3.495 GB, free: 372.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00131/8.615, allocations: 0.5191 MB / 3.496 GB, free: 372.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=94): time 7.283e-06/8.615, allocations: 0.6562 kB / 3.496 GB, free: 372.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=94): time 0.004732/8.62, allocations: 1.377 MB / 3.497 GB, free: 372.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.177e-05/8.62, allocations: 63.14 kB / 3.497 GB, free: 372 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01218/8.632, allocations: 3.944 MB / 3.501 GB, free: 371.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0004466/8.633, allocations: 48.83 kB / 3.501 GB, free: 371.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.00159/8.634, allocations: 1.194 MB / 3.502 GB, free: 371.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005415/8.635, allocations: 308.2 kB / 3.503 GB, free: 371.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.406e-05/8.635, allocations: 18 kB / 3.503 GB, free: 371.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001393/8.635, allocations: 341.2 kB / 3.503 GB, free: 371.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008156/8.636, allocations: 347.2 kB / 3.503 GB, free: 371.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009463/8.637, allocations: 0.5 MB / 3.504 GB, free: 371 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009168/8.638, allocations: 405.7 kB / 3.504 GB, free: 371 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/8.638, allocations: 1.5 kB / 3.504 GB, free: 371 MB / 1.151 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004459/8.642, allocations: 1.488 MB / 3.506 GB, free: 370.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 4.296e-05/8.642, allocations: 6.625 kB / 3.506 GB, free: 370.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.215e-05/8.642, allocations: 3.906 kB / 3.506 GB, free: 370.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001298/8.644, allocations: 346.3 kB / 3.506 GB, free: 370.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008052/8.644, allocations: 167.7 kB / 3.506 GB, free: 370.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007745/8.652, allocations: 4.984 MB / 3.511 GB, free: 368.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002652/8.655, allocations: 153 kB / 3.511 GB, free: 368.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001856/8.655, allocations: 33.16 kB / 3.511 GB, free: 368.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition8,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp1.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$PRE.tableSolRadWall.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,outdoorTemp1.nextTimeEvent,$PRE.outdoorTemp1.nextTimeEventScaled,outdoorTemp1.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,$PRE.tableSolRadWall.nextTimeEventScaled,tableSolRadWall.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 90 * 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.0004436/8.656, allocations: 170 kB / 3.511 GB, free: 368 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000917/8.656, allocations: 290.2 kB / 3.512 GB, free: 367.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004979/8.661, allocations: 1.561 MB / 3.513 GB, free: 367.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.213e-05/8.661, allocations: 9.938 kB / 3.513 GB, free: 367.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-05/8.662, allocations: 5.312 kB / 3.513 GB, free: 367.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.456e-05/8.662, allocations: 4.828 kB / 3.513 GB, free: 367.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01078/8.672, allocations: 3.725 MB / 3.517 GB, free: 367.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/8.672, allocations: 0.6094 kB / 3.517 GB, free: 367.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005979/8.673, allocations: 108.2 kB / 3.517 GB, free: 367.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001109/8.674, allocations: 336.6 kB / 3.517 GB, free: 367.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-05/8.674, allocations: 29.44 kB / 3.517 GB, free: 367.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006819/8.681, allocations: 4.972 MB / 3.522 GB, free: 364.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/8.681, allocations: 3.594 kB / 3.522 GB, free: 364.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004971/8.686, allocations: 2.084 MB / 3.524 GB, free: 364.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002054/8.688, allocations: 0.6342 MB / 3.525 GB, free: 364 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002858/8.688, allocations: 29.5 kB / 3.525 GB, free: 364 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008319/8.689, allocations: 82.95 kB / 3.525 GB, free: 364 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004771/8.69, allocations: 98.53 kB / 3.525 GB, free: 364 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.335e-05/8.69, allocations: 32.3 kB / 3.525 GB, free: 364 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.007667/8.698, allocations: 3.135 MB / 3.528 GB, free: 363.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 5.71e-07/8.698, allocations: 0 / 3.528 GB, free: 363.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003909/8.702, allocations: 0.5788 MB / 3.529 GB, free: 363.3 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: 23 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp1.nextTimeEvent,outdoorTemp1.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,tableSolRadWall.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 13 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp1.nextTimeEvent,tableSolRadWindow.nextTimeEvent,tableSolRadWall.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWall.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp1.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.002721/8.704, allocations: 0.9445 MB / 3.53 GB, free: 363.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00344/8.708, allocations: 1.25 MB / 3.531 GB, free: 362.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/8.708, allocations: 0 / 3.531 GB, free: 362.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001861/8.71, allocations: 0.8347 MB / 3.532 GB, free: 362.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00337/8.713, allocations: 314.4 kB / 3.532 GB, free: 361.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01243/8.725, allocations: 4.79 MB / 3.537 GB, free: 360.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0024/8.728, allocations: 1.878 MB / 3.538 GB, free: 359.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001497/8.729, allocations: 347.7 kB / 3.539 GB, free: 359.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004393/8.73, allocations: 144.7 kB / 3.539 GB, free: 359.7 MB / 1.151 GB Notification: Performance of SimCode: time 2.465e-06/8.73, allocations: 0 / 3.539 GB, free: 359.7 MB / 1.151 GB Notification: Performance of Templates: time 0.06894/8.799, allocations: 31.5 MB / 3.57 GB, free: 357.9 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8.csv","../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches