Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.TestCase5,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.TestCase5") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,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.TestCase5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001932/0.001932, allocations: 105.4 kB / 15.99 MB, free: 6.348 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.002014/0.002014, allocations: 198.9 kB / 16.91 MB, free: 6.188 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.316/1.316, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.302/2.302, allocations: 390.2 MB / 0.665 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 66.47 kB / 0.8127 GB, free: 33.27 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.304, allocations: 140.4 MB / 0.9498 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.8474/1.151, allocations: 155.1 MB / 1.101 GB, free: 7.242 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02972/1.181, allocations: 21.75 MB / 1.122 GB, free: 7.059 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003577/1.185, allocations: 54.42 kB / 1.123 GB, free: 7.059 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.003532/1.188, allocations: 2.106 MB / 1.125 GB, free: 7.008 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003459/1.192, allocations: 1.369 MB / 1.126 GB, free: 6.973 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001879/1.194, allocations: 0.518 MB / 1.126 GB, free: 6.961 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003338/1.197, allocations: 1.832 MB / 1.128 GB, free: 6.953 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001728/1.199, allocations: 1.091 MB / 1.129 GB, free: 6.859 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001606/1.201, allocations: 0.8883 MB / 1.13 GB, free: 6.859 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001981/1.203, allocations: 1.596 MB / 1.132 GB, free: 6.824 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000202/1.203, allocations: 91.34 kB / 1.132 GB, free: 6.824 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004625/1.203, allocations: 142.2 kB / 1.132 GB, free: 6.82 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0006121/1.204, allocations: 0.5486 MB / 1.132 GB, free: 6.734 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0007557/1.205, allocations: 0.7685 MB / 1.133 GB, free: 6.398 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001588/1.206, allocations: 1.418 MB / 1.135 GB, free: 6.27 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/1.206, allocations: 1.031 kB / 1.135 GB, free: 6.27 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.176e-06/1.206, allocations: 1.125 kB / 1.135 GB, free: 6.27 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.416e-05/1.206, allocations: 3.938 kB / 1.135 GB, free: 6.266 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.003982/1.21, allocations: 2.277 MB / 1.137 GB, free: 20.99 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/1.21, allocations: 10.84 kB / 1.137 GB, free: 20.99 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003435/1.211, allocations: 228.2 kB / 1.137 GB, free: 20.87 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001305/1.212, allocations: 1.004 MB / 1.138 GB, free: 20.32 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001497/1.212, allocations: 88.95 kB / 1.138 GB, free: 20.29 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/1.212, allocations: 68.47 kB / 1.138 GB, free: 20.29 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/1.214, allocations: 0.725 MB / 1.139 GB, free: 20.22 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/1.214, allocations: 6.062 kB / 1.139 GB, free: 20.21 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.195e-05/1.214, allocations: 28.41 kB / 1.139 GB, free: 20.21 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.995e-05/1.214, allocations: 19.12 kB / 1.139 GB, free: 20.21 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001255/1.215, allocations: 0.5894 MB / 1.14 GB, free: 20.21 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005072/1.22, allocations: 3.52 MB / 1.143 GB, free: 18.7 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00154/1.222, allocations: 0.6995 MB / 1.144 GB, free: 18.67 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007798/1.223, allocations: 414.8 kB / 1.144 GB, free: 18.66 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.049e-05/1.223, allocations: 12.53 kB / 1.144 GB, free: 18.66 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000838/1.223, allocations: 430.6 kB / 1.144 GB, free: 18.6 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=70): time 2.996e-06/1.223, allocations: 0 / 1.144 GB, free: 18.6 MB / 0.8731 GB Notification: Performance of matching and sorting (n=70): time 0.004772/1.228, allocations: 1.801 MB / 1.146 GB, free: 18.16 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.278e-05/1.228, allocations: 64.62 kB / 1.146 GB, free: 18.1 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003913/1.232, allocations: 3.308 MB / 1.15 GB, free: 17.07 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.66e-05/1.232, allocations: 45.88 kB / 1.15 GB, free: 17.02 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006717/1.233, allocations: 0.8824 MB / 1.15 GB, free: 16.34 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001789/1.233, allocations: 222.5 kB / 1.151 GB, free: 16.17 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000204/1.233, allocations: 136.7 kB / 1.151 GB, free: 16.1 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000133/1.234, allocations: 334.7 kB / 1.151 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006328/1.234, allocations: 302.5 kB / 1.151 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007078/1.235, allocations: 442.6 kB / 1.152 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001211/1.236, allocations: 0.7244 MB / 1.152 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/1.236, allocations: 1.781 kB / 1.152 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002227/1.238, allocations: 1.214 MB / 1.154 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/1.238, allocations: 12.62 kB / 1.154 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/1.238, allocations: 2.656 kB / 1.154 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007012/1.239, allocations: 257 kB / 1.154 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000497/1.24, allocations: 132.6 kB / 1.154 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005189/1.245, allocations: 4.758 MB / 1.159 GB, free: 10.81 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008163/1.246, allocations: 107.1 kB / 1.159 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.028e-05/1.246, allocations: 26.06 kB / 1.159 GB, free: 10.76 MB / 0.8731 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.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.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 (73): * Single equations (assignments): 71 * 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 {(2,18,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001651/1.247, allocations: 0.6091 MB / 1.159 GB, free: 10.51 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005302/1.248, allocations: 203.1 kB / 1.16 GB, free: 10.4 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007955/1.249, allocations: 259.5 kB / 1.16 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.848e-06/1.249, allocations: 5.031 kB / 1.16 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.613e-05/1.249, allocations: 5.219 kB / 1.16 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/1.249, allocations: 2.953 kB / 1.16 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005987/1.255, allocations: 2.346 MB / 1.162 GB, free: 9.277 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/1.255, allocations: 0 / 1.162 GB, free: 9.277 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003546/1.255, allocations: 66.3 kB / 1.162 GB, free: 9.273 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007002/1.256, allocations: 259 kB / 1.162 GB, free: 9.195 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.295e-05/1.256, allocations: 16.44 kB / 1.162 GB, free: 9.188 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005174/1.261, allocations: 4.75 MB / 1.167 GB, free: 5.398 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/1.261, allocations: 3.984 kB / 1.167 GB, free: 5.395 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003067/1.264, allocations: 1.575 MB / 1.169 GB, free: 4.699 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007967/1.265, allocations: 309.1 kB / 1.169 GB, free: 4.461 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003438/1.265, allocations: 21.75 kB / 1.169 GB, free: 4.449 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006455/1.266, allocations: 50.03 kB / 1.169 GB, free: 4.434 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001982/1.266, allocations: 73.92 kB / 1.169 GB, free: 4.418 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.059e-05/1.266, allocations: 25.2 kB / 1.169 GB, free: 4.414 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.004241/1.271, allocations: 2.425 MB / 1.172 GB, free: 3.637 MB / 0.8731 GB Notification: Performance of sort global known variables: time 4.71e-07/1.271, allocations: 0 / 1.172 GB, free: 3.637 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001435/1.272, allocations: 294 kB / 1.172 GB, free: 3.582 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: 19 ($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,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 36 * 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.00142/1.274, allocations: 491.4 kB / 1.172 GB, free: 3.367 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002817/1.276, allocations: 1.15 MB / 1.173 GB, free: 2.852 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 8.766e-06/1.276, allocations: 7.875 kB / 1.173 GB, free: 2.844 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0012/1.278, allocations: 0.684 MB / 1.174 GB, free: 2.453 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001843/1.279, allocations: 294.3 kB / 1.174 GB, free: 2.328 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009213/1.289, allocations: 4.62 MB / 1.179 GB, free: 136 kB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002074/1.291, allocations: 1.518 MB / 1.18 GB, free: 15.32 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003557/1.291, allocations: 70.77 kB / 1.18 GB, free: 15.3 MB / 0.8887 GB Notification: Performance of SimCode: time 1.573e-06/1.291, allocations: 3.938 kB / 1.18 GB, free: 15.3 MB / 0.8887 GB Notification: Performance of Templates: time 0.0532/1.344, allocations: 31.47 MB / 1.211 GB, free: 7.762 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches