Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.TestCase10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_10_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_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001218/0.001218, allocations: 196.4 kB / 16.14 MB, free: 6.734 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.286/1.286, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.445/2.445, allocations: 437 MB / 0.7099 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 59.89 kB / 0.8685 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5859/0.5871, allocations: 151.6 MB / 1.017 GB, free: 2.82 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.1578/0.745, allocations: 155.3 MB / 1.168 GB, free: 6.984 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02604/0.7711, allocations: 21.91 MB / 1.19 GB, free: 1.004 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002232/0.7734, allocations: 51.69 kB / 1.19 GB, free: 0.9531 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002647/0.7761, allocations: 2.121 MB / 1.192 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002357/0.7784, allocations: 1.402 MB / 1.193 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001714/0.7802, allocations: 0.549 MB / 1.194 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002516/0.7827, allocations: 2.062 MB / 1.196 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001776/0.7845, allocations: 1.035 MB / 1.197 GB, free: 9.758 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001693/0.7862, allocations: 0.8215 MB / 1.197 GB, free: 8.934 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002249/0.7885, allocations: 1.569 MB / 1.199 GB, free: 7.363 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0003213/0.7888, allocations: 56 kB / 1.199 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005261/0.7893, allocations: 99.97 kB / 1.199 GB, free: 7.211 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0005755/0.7899, allocations: 0.5469 MB / 1.2 GB, free: 6.656 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0008142/0.7908, allocations: 0.7678 MB / 1.2 GB, free: 5.883 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001576/0.7923, allocations: 1.852 MB / 1.202 GB, free: 4.023 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.7923, allocations: 0 / 1.202 GB, free: 4.023 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.062e-06/0.7924, allocations: 0 / 1.202 GB, free: 4.023 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.126e-05/0.7924, allocations: 0 / 1.202 GB, free: 4.023 MB / 0.9512 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.003286/0.7957, allocations: 2.349 MB / 1.205 GB, free: 1.609 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.7957, allocations: 15.95 kB / 1.205 GB, free: 1.594 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002802/0.796, allocations: 237.9 kB / 1.205 GB, free: 1.359 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/0.7972, allocations: 1.027 MB / 1.206 GB, free: 272 kB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/0.7974, allocations: 91 kB / 1.206 GB, free: 176 kB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/0.7975, allocations: 75.98 kB / 1.206 GB, free: 100 kB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/0.7989, allocations: 0.7768 MB / 1.207 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.7989, allocations: 0 / 1.207 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.476e-05/0.799, allocations: 27.98 kB / 1.207 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.799, allocations: 20 kB / 1.207 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001221/0.8003, allocations: 0.6413 MB / 1.207 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00489/0.8052, allocations: 3.741 MB / 1.211 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001525/0.8067, allocations: 0.7407 MB / 1.212 GB, free: 9.863 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000745/0.8075, allocations: 430.3 kB / 1.212 GB, free: 9.441 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.863e-05/0.8075, allocations: 12.56 kB / 1.212 GB, free: 9.43 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007857/0.8083, allocations: 448 kB / 1.213 GB, free: 8.98 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=73): time 3.286e-06/0.8083, allocations: 0 / 1.213 GB, free: 8.98 MB / 0.9669 GB Notification: Performance of matching and sorting (n=73): time 0.004255/0.8126, allocations: 1.826 MB / 1.214 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.108e-05/0.8127, allocations: 64.06 kB / 1.214 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003629/0.8163, allocations: 3.374 MB / 1.218 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001003/0.8164, allocations: 41.7 kB / 1.218 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000753/0.8172, allocations: 0.9291 MB / 1.219 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002146/0.8174, allocations: 232.7 kB / 1.219 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002153/0.8176, allocations: 142.7 kB / 1.219 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.8178, allocations: 337.9 kB / 1.219 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006632/0.8184, allocations: 321.8 kB / 1.22 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007558/0.8192, allocations: 468 kB / 1.22 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/0.8205, allocations: 0.7506 MB / 1.221 GB, free: 332 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.8205, allocations: 0 / 1.221 GB, free: 332 kB / 0.9669 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002387/0.8229, allocations: 1.255 MB / 1.222 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.8229, allocations: 8 kB / 1.222 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.8229, allocations: 0 / 1.222 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006992/0.8236, allocations: 259 kB / 1.222 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005031/0.8242, allocations: 135.8 kB / 1.222 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004523/0.8287, allocations: 4.369 MB / 1.227 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008323/0.8295, allocations: 111.2 kB / 1.227 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.446e-05/0.8296, allocations: 28 kB / 1.227 GB, free: 9.879 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 30 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.outdoorTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,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 (77): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 {(1,3,100.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008315/0.8304, allocations: 0.619 MB / 1.227 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002229/0.8307, allocations: 209.3 kB / 1.228 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003366/0.831, allocations: 261.1 kB / 1.228 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.831, allocations: 8 kB / 1.228 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.62e-05/0.8311, allocations: 4 kB / 1.228 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.8311, allocations: 3.984 kB / 1.228 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003564/0.8346, allocations: 2.408 MB / 1.23 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.8347, allocations: 0 / 1.23 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003271/0.835, allocations: 79.89 kB / 1.23 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006266/0.8356, allocations: 247.2 kB / 1.231 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.137e-05/0.8357, allocations: 23.98 kB / 1.231 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004297/0.84, allocations: 4.353 MB / 1.235 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.84, allocations: 0 / 1.235 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002789/0.8428, allocations: 1.636 MB / 1.236 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005193/0.8433, allocations: 314.3 kB / 1.237 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001561/0.8435, allocations: 27.92 kB / 1.237 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004679/0.844, allocations: 51.86 kB / 1.237 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000206/0.8442, allocations: 76.48 kB / 1.237 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.317e-05/0.8443, allocations: 27.98 kB / 1.237 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002599/0.8469, allocations: 2.456 MB / 1.239 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8469, allocations: 4 kB / 1.239 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001011/0.8479, allocations: 307.5 kB / 1.24 GB, free: 12.39 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: 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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,18,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.001166/0.8491, allocations: 0.4896 MB / 1.24 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002022/0.8511, allocations: 1.094 MB / 1.241 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.8511, allocations: 0 / 1.241 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001114/0.8522, allocations: 0.7025 MB / 1.242 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001349/0.8536, allocations: 278.1 kB / 1.242 GB, free: 9.961 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005791/0.8594, allocations: 4.662 MB / 1.247 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001297/0.8607, allocations: 1.552 MB / 1.248 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005548/0.8613, allocations: 158.5 kB / 1.248 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000205/0.8615, allocations: 75.41 kB / 1.248 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of SimCode: time 8.62e-07/0.8615, allocations: 0 / 1.248 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of Templates: time 0.4828/1.344, allocations: 14.25 MB / 1.262 GB, free: 229.5 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.makefile (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches