Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.TestCase3,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.TestCase3") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,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.TestCase3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 106 kB / 16.35 MB, free: 5.824 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.001338/0.001338, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.36/1.36, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.165/2.165, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.00122, allocations: 62.84 kB / 0.814 GB, free: 32.61 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2212, allocations: 140.4 MB / 0.9511 GB, free: 8.027 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.5742/0.7955, allocations: 156.7 MB / 1.104 GB, free: 7.543 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02324/0.8188, allocations: 21.74 MB / 1.125 GB, free: 7.371 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002385/0.8212, allocations: 53.75 kB / 1.125 GB, free: 7.371 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001673/0.8229, allocations: 1.163 MB / 1.127 GB, free: 7.336 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001563/0.8245, allocations: 0.8567 MB / 1.127 GB, free: 7.309 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001176/0.8257, allocations: 444.3 kB / 1.128 GB, free: 7.301 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001337/0.827, allocations: 1.257 MB / 1.129 GB, free: 7.293 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008103/0.8278, allocations: 0.6899 MB / 1.13 GB, free: 7.234 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007565/0.8286, allocations: 0.551 MB / 1.13 GB, free: 7.234 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001089/0.8297, allocations: 0.9208 MB / 1.131 GB, free: 7.23 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001068/0.8298, allocations: 65.34 kB / 1.131 GB, free: 7.23 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002671/0.8301, allocations: 108 kB / 1.131 GB, free: 7.227 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002645/0.8304, allocations: 320.8 kB / 1.132 GB, free: 7.184 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003852/0.8308, allocations: 494.3 kB / 1.132 GB, free: 6.992 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001063/0.8318, allocations: 1.194 MB / 1.133 GB, free: 6.762 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.8319, allocations: 4.094 kB / 1.133 GB, free: 6.762 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8319, allocations: 0 / 1.133 GB, free: 6.762 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.906e-05/0.8319, allocations: 0.9375 kB / 1.133 GB, free: 6.762 MB / 0.8575 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.002331/0.8342, allocations: 1.481 MB / 1.135 GB, free: 21.89 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.8343, allocations: 10.12 kB / 1.135 GB, free: 21.89 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001884/0.8345, allocations: 134.9 kB / 1.135 GB, free: 21.82 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008655/0.8353, allocations: 0.6632 MB / 1.136 GB, free: 21.43 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.8355, allocations: 70.25 kB / 1.136 GB, free: 21.4 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.498e-05/0.8356, allocations: 52.64 kB / 1.136 GB, free: 21.4 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009256/0.8365, allocations: 0.5187 MB / 1.136 GB, free: 21.33 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.8365, allocations: 0.75 kB / 1.136 GB, free: 21.33 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.809e-05/0.8366, allocations: 20.86 kB / 1.136 GB, free: 21.33 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.8366, allocations: 10.12 kB / 1.136 GB, free: 21.33 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007862/0.8374, allocations: 415.8 kB / 1.137 GB, free: 21.32 MB / 0.8731 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003288/0.8407, allocations: 2.719 MB / 1.139 GB, free: 19.89 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008644/0.8416, allocations: 443.4 kB / 1.14 GB, free: 19.87 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005676/0.8421, allocations: 314.2 kB / 1.14 GB, free: 19.85 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.641e-05/0.8422, allocations: 4.516 kB / 1.14 GB, free: 19.85 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004882/0.8427, allocations: 286.1 kB / 1.14 GB, free: 19.8 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=44): time 1.963e-06/0.8427, allocations: 0 / 1.14 GB, free: 19.8 MB / 0.8731 GB Notification: Performance of matching and sorting (n=44): time 0.002492/0.8452, allocations: 1.148 MB / 1.141 GB, free: 19.48 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.8453, allocations: 60.09 kB / 1.141 GB, free: 19.42 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001938/0.8472, allocations: 1.761 MB / 1.143 GB, free: 19.25 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.501e-05/0.8473, allocations: 38.11 kB / 1.143 GB, free: 19.21 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003458/0.8476, allocations: 0.5261 MB / 1.144 GB, free: 18.8 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.724e-05/0.8477, allocations: 138.5 kB / 1.144 GB, free: 18.7 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/0.8479, allocations: 106.9 kB / 1.144 GB, free: 18.64 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.848, allocations: 325.8 kB / 1.144 GB, free: 18.33 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000439/0.8484, allocations: 213.7 kB / 1.144 GB, free: 18.27 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004845/0.8489, allocations: 337.2 kB / 1.145 GB, free: 18.06 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008005/0.8497, allocations: 0.5146 MB / 1.145 GB, free: 17.79 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.8497, allocations: 5.938 kB / 1.145 GB, free: 17.78 MB / 0.8731 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001495/0.8512, allocations: 0.8061 MB / 1.146 GB, free: 17.48 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.8513, allocations: 13.56 kB / 1.146 GB, free: 17.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.8513, allocations: 8.969 kB / 1.146 GB, free: 17.48 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003914/0.8517, allocations: 141 kB / 1.146 GB, free: 17.43 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000379/0.8521, allocations: 103.6 kB / 1.146 GB, free: 17.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002644/0.8547, allocations: 2.602 MB / 1.149 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005031/0.8553, allocations: 75.2 kB / 1.149 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.159e-05/0.8553, allocations: 22.89 kB / 1.149 GB, free: 15.34 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,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 (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005532/0.8559, allocations: 388.5 kB / 1.149 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.856, allocations: 115.9 kB / 1.149 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002047/0.8562, allocations: 141.8 kB / 1.15 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.8562, allocations: 5.312 kB / 1.15 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.424e-05/0.8562, allocations: 3.531 kB / 1.15 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.8562, allocations: 6.734 kB / 1.15 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002215/0.8585, allocations: 1.486 MB / 1.151 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.8585, allocations: 3.828 kB / 1.151 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00023/0.8587, allocations: 44.31 kB / 1.151 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004124/0.8591, allocations: 157.8 kB / 1.151 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.815e-05/0.8592, allocations: 16.97 kB / 1.151 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003456/0.8627, allocations: 4.033 MB / 1.155 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.8627, allocations: 1.875 kB / 1.155 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001694/0.8644, allocations: 0.9827 MB / 1.156 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003078/0.8647, allocations: 210.5 kB / 1.156 GB, free: 10.13 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.922e-05/0.8648, allocations: 15.08 kB / 1.156 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003226/0.8651, allocations: 28.33 kB / 1.156 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.8653, allocations: 57.81 kB / 1.156 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.196e-05/0.8653, allocations: 15.97 kB / 1.156 GB, free: 10.1 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001393/0.8667, allocations: 1.291 MB / 1.158 GB, free: 9.664 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.61e-07/0.8667, allocations: 0.9375 kB / 1.158 GB, free: 9.664 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007755/0.8675, allocations: 199.7 kB / 1.158 GB, free: 9.625 MB / 0.8731 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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,12,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.00106/0.8686, allocations: 487.8 kB / 1.158 GB, free: 9.426 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001266/0.8699, allocations: 0.6687 MB / 1.159 GB, free: 9.137 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.8699, allocations: 1.062 kB / 1.159 GB, free: 9.137 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0007473/0.8706, allocations: 0.5215 MB / 1.16 GB, free: 8.809 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009381/0.8716, allocations: 198.2 kB / 1.16 GB, free: 8.738 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003258/0.8748, allocations: 2.352 MB / 1.162 GB, free: 7.734 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007169/0.8756, allocations: 1.153 MB / 1.163 GB, free: 6.98 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002786/0.8759, allocations: 98.5 kB / 1.163 GB, free: 6.961 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.876, allocations: 47.5 kB / 1.163 GB, free: 6.949 MB / 0.8731 GB Notification: Performance of SimCode: time 4.21e-07/0.876, allocations: 3.938 kB / 1.163 GB, free: 6.945 MB / 0.8731 GB Notification: Performance of Templates: time 0.01656/0.8926, allocations: 10.03 MB / 1.173 GB, free: 5.637 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches