Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.TestCase4,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.TestCase4") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,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.TestCase4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.283/2.283, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.001022/0.001022, allocations: 168.9 kB / 496.1 MB, free: 12.87 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.58/1.58, allocations: 221.3 MB / 0.7915 GB, free: 5.387 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.0009884/0.0009887, allocations: 91.89 kB / 0.9317 GB, free: 5.699 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.578e-05/3.581e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3809/0.381, allocations: 143 MB / 1.219 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.738/7.119, allocations: 2.189 GB / 3.408 GB, free: 76.07 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003237/7.119, allocations: 87.95 kB / 3.408 GB, free: 75.99 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1414/7.261, allocations: 65.09 MB / 3.471 GB, free: 10.32 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.485e-06/7.261, allocations: 0 / 3.471 GB, free: 10.32 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002014/7.261, allocations: 27.98 kB / 3.472 GB, free: 10.3 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003016/7.264, allocations: 1.222 MB / 3.473 GB, free: 9.027 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/7.264, allocations: 12.02 kB / 3.473 GB, free: 9.016 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005172/7.264, allocations: 138.3 kB / 3.473 GB, free: 8.879 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003994/7.268, allocations: 1.459 MB / 3.474 GB, free: 7.367 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001548/7.269, allocations: 74.69 kB / 3.474 GB, free: 7.285 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001616/7.269, allocations: 47.94 kB / 3.474 GB, free: 7.238 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009757/7.27, allocations: 475 kB / 3.475 GB, free: 6.762 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.95e-05/7.27, allocations: 7.844 kB / 3.475 GB, free: 6.754 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.213e-05/7.27, allocations: 23.98 kB / 3.475 GB, free: 6.73 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.622e-05/7.27, allocations: 16 kB / 3.475 GB, free: 6.715 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006643/7.271, allocations: 335.9 kB / 3.475 GB, free: 6.383 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004311/7.275, allocations: 2.725 MB / 3.478 GB, free: 3.445 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007301/7.276, allocations: 388.4 kB / 3.478 GB, free: 3.059 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004001/7.276, allocations: 249.4 kB / 3.478 GB, free: 2.812 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.063e-05/7.276, allocations: 4.328 kB / 3.478 GB, free: 2.809 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004167/7.277, allocations: 258.2 kB / 3.479 GB, free: 2.543 MB / 1.167 GB Notification: Performance of pre-optimization done (n=45): time 3.717e-06/7.277, allocations: 0 / 3.479 GB, free: 2.543 MB / 1.167 GB Notification: Performance of matching and sorting (n=45): time 0.001418/7.278, allocations: 0.6233 MB / 3.479 GB, free: 1.906 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/7.278, allocations: 59.41 kB / 3.479 GB, free: 1.836 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002862/7.281, allocations: 1.532 MB / 3.481 GB, free: 300 kB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.18e-05/7.281, allocations: 45.62 kB / 3.481 GB, free: 248 kB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.8385/8.119, allocations: 0.5229 MB / 3.481 GB, free: 392.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003128/8.12, allocations: 152.2 kB / 3.482 GB, free: 392.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-05/8.12, allocations: 10.16 kB / 3.482 GB, free: 392.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.615e-05/8.12, allocations: 327.6 kB / 3.482 GB, free: 392.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000421/8.12, allocations: 162.3 kB / 3.482 GB, free: 392.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004071/8.121, allocations: 267.7 kB / 3.482 GB, free: 392.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004041/8.121, allocations: 191.7 kB / 3.482 GB, free: 392.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/8.121, allocations: 0.9062 kB / 3.482 GB, free: 392.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00169/8.123, allocations: 0.725 MB / 3.483 GB, free: 392.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/8.123, allocations: 11.64 kB / 3.483 GB, free: 392.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/8.123, allocations: 3 kB / 3.483 GB, free: 392.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005726/8.124, allocations: 158 kB / 3.483 GB, free: 392.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004244/8.124, allocations: 104.1 kB / 3.483 GB, free: 392.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003289/8.127, allocations: 2.589 MB / 3.486 GB, free: 390.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007427/8.128, allocations: 90.58 kB / 3.486 GB, free: 390.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.954e-05/8.128, allocations: 22.75 kB / 3.486 GB, free: 390.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 19 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition5,$whenCondition4,$PRE.intGai.nextTimeEvent,$whenCondition3,$PRE.reference.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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001592/8.128, allocations: 146.9 kB / 3.486 GB, free: 390.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/8.128, allocations: 129.2 kB / 3.486 GB, free: 390.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001878/8.13, allocations: 0.681 MB / 3.487 GB, free: 390.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/8.13, allocations: 4.5 kB / 3.487 GB, free: 390.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.929e-06/8.13, allocations: 3.938 kB / 3.487 GB, free: 390.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/8.13, allocations: 2.156 kB / 3.487 GB, free: 390.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004285/8.135, allocations: 1.713 MB / 3.489 GB, free: 390.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/8.135, allocations: 0.8438 kB / 3.489 GB, free: 390.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002773/8.135, allocations: 53.5 kB / 3.489 GB, free: 390.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005599/8.136, allocations: 176.7 kB / 3.489 GB, free: 390.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.574e-05/8.136, allocations: 10.64 kB / 3.489 GB, free: 390.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004855/8.141, allocations: 3.962 MB / 3.493 GB, free: 387.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/8.141, allocations: 1.531 kB / 3.493 GB, free: 387.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002314/8.143, allocations: 0.9598 MB / 3.494 GB, free: 387.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006098/8.143, allocations: 298.4 kB / 3.494 GB, free: 387.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/8.144, allocations: 18.17 kB / 3.494 GB, free: 387.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003962/8.144, allocations: 45.28 kB / 3.494 GB, free: 387.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002273/8.144, allocations: 63.12 kB / 3.494 GB, free: 387.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-05/8.144, allocations: 15.2 kB / 3.494 GB, free: 387.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002644/8.147, allocations: 1.224 MB / 3.495 GB, free: 387.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.8e-07/8.147, allocations: 0 / 3.495 GB, free: 387.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001734/8.149, allocations: 316.4 kB / 3.496 GB, free: 387 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: 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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%) 13,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001959/8.151, allocations: 0.9012 MB / 3.497 GB, free: 386.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001422/8.152, allocations: 0.6242 MB / 3.497 GB, free: 386.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/8.152, allocations: 3.281 kB / 3.497 GB, free: 386.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008743/8.153, allocations: 0.5148 MB / 3.498 GB, free: 386.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/8.154, allocations: 179.6 kB / 3.498 GB, free: 386.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00417/8.158, allocations: 2.033 MB / 3.5 GB, free: 386.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00091/8.159, allocations: 1.18 MB / 3.501 GB, free: 385.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0004777/8.16, allocations: 141.1 kB / 3.501 GB, free: 385.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001962/8.16, allocations: 63.08 kB / 3.501 GB, free: 385.4 MB / 1.167 GB Notification: Performance of SimCode: time 9.11e-07/8.16, allocations: 2.844 kB / 3.501 GB, free: 385.4 MB / 1.167 GB Notification: Performance of Templates: time 0.04473/8.205, allocations: 20.34 MB / 3.521 GB, free: 384.3 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.csv","../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches