Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001589/0.001589, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001832/0.001832, allocations: 198.1 kB / 16.79 MB, free: 6.809 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.342/1.342, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.62/2.62, allocations: 461.8 MB / 0.7348 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 66.72 kB / 0.899 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2894, allocations: 157.4 MB / 1.053 GB, free: 8.32 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.1548/0.4442, allocations: 155 MB / 1.204 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0234/0.4677, allocations: 21.85 MB / 1.225 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001823/0.4695, allocations: 51.69 kB / 1.225 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002364/0.4719, allocations: 2.113 MB / 1.228 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002021/0.474, allocations: 1.356 MB / 1.229 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001428/0.4754, allocations: 0.5279 MB / 1.229 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002092/0.4775, allocations: 1.902 MB / 1.231 GB, free: 0.8672 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001359/0.4789, allocations: 0.986 MB / 1.232 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00115/0.4801, allocations: 0.7904 MB / 1.233 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001704/0.4818, allocations: 1.522 MB / 1.234 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000195/0.482, allocations: 52 kB / 1.235 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003368/0.4823, allocations: 99.98 kB / 1.235 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000447/0.4828, allocations: 0.5118 MB / 1.235 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007154/0.4835, allocations: 0.729 MB / 1.236 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001173/0.4847, allocations: 1.396 MB / 1.237 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.4847, allocations: 0 / 1.237 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of FrontEnd: time 8.72e-07/0.4847, allocations: 0 / 1.237 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.217e-05/0.4848, allocations: 0 / 1.237 GB, free: 10.74 MB / 0.9981 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.003381/0.4881, allocations: 2.277 MB / 1.239 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.4882, allocations: 15.95 kB / 1.239 GB, free: 8.383 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002981/0.4885, allocations: 234 kB / 1.24 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00122/0.4897, allocations: 1.003 MB / 1.241 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001254/0.4899, allocations: 87 kB / 1.241 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.49, allocations: 71.97 kB / 1.241 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/0.4913, allocations: 0.729 MB / 1.241 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.4913, allocations: 4 kB / 1.241 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.829e-05/0.4914, allocations: 24 kB / 1.242 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/0.4914, allocations: 16 kB / 1.242 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/0.4926, allocations: 0.5907 MB / 1.242 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004738/0.4973, allocations: 3.529 MB / 1.246 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001522/0.4988, allocations: 0.7075 MB / 1.246 GB, free: 1.035 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007416/0.4996, allocations: 411.7 kB / 1.247 GB, free: 0.6328 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.936e-05/0.4997, allocations: 8.562 kB / 1.247 GB, free: 0.625 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007919/0.5005, allocations: 430.9 kB / 1.247 GB, free: 200 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=70): time 2.655e-06/0.5005, allocations: 0 / 1.247 GB, free: 200 kB / 0.9981 GB Notification: Performance of matching and sorting (n=70): time 0.5593/1.06, allocations: 1.792 MB / 1.249 GB, free: 195.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/1.06, allocations: 66.25 kB / 1.249 GB, free: 195.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003238/1.063, allocations: 3.304 MB / 1.252 GB, free: 195 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.844e-05/1.063, allocations: 45.05 kB / 1.252 GB, free: 195 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005678/1.064, allocations: 0.8908 MB / 1.253 GB, free: 194.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001487/1.064, allocations: 227.2 kB / 1.253 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001724/1.064, allocations: 126.8 kB / 1.253 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.27e-05/1.064, allocations: 338.4 kB / 1.254 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005743/1.065, allocations: 299.7 kB / 1.254 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000613/1.065, allocations: 443.6 kB / 1.254 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/1.067, allocations: 0.7143 MB / 1.255 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/1.067, allocations: 0 / 1.255 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002408/1.069, allocations: 1.216 MB / 1.256 GB, free: 194 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.949e-05/1.069, allocations: 12.03 kB / 1.256 GB, free: 194 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/1.069, allocations: 2.656 kB / 1.256 GB, free: 194 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008037/1.07, allocations: 264.9 kB / 1.257 GB, free: 194 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005052/1.07, allocations: 129.7 kB / 1.257 GB, free: 194 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004798/1.075, allocations: 4.368 MB / 1.261 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008795/1.076, allocations: 101 kB / 1.261 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.508e-05/1.076, allocations: 33.77 kB / 1.261 GB, free: 191.2 MB / 0.9981 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.001193/1.077, allocations: 0.603 MB / 1.262 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002965/1.078, allocations: 203 kB / 1.262 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005335/1.078, allocations: 252.7 kB / 1.262 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/1.078, allocations: 7.281 kB / 1.262 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.472e-05/1.078, allocations: 4.953 kB / 1.262 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.618e-05/1.078, allocations: 4.953 kB / 1.262 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004468/1.083, allocations: 2.336 MB / 1.264 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/1.083, allocations: 4.75 kB / 1.264 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003318/1.083, allocations: 65.14 kB / 1.264 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000726/1.084, allocations: 249 kB / 1.265 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.755e-05/1.084, allocations: 21.72 kB / 1.265 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004327/1.088, allocations: 4.365 MB / 1.269 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/1.088, allocations: 5.375 kB / 1.269 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003661/1.092, allocations: 1.576 MB / 1.271 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008324/1.093, allocations: 310.6 kB / 1.271 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002063/1.093, allocations: 14.55 kB / 1.271 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000524/1.094, allocations: 59.75 kB / 1.271 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000285/1.094, allocations: 68.5 kB / 1.271 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.103e-05/1.094, allocations: 23.97 kB / 1.271 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003339/1.097, allocations: 2.426 MB / 1.273 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.097, allocations: 3.938 kB / 1.273 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00116/1.098, allocations: 290 kB / 1.274 GB, free: 186.7 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,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.001114/1.1, allocations: 0.4935 MB / 1.274 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001963/1.102, allocations: 1.051 MB / 1.275 GB, free: 186 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/1.102, allocations: 1.125 kB / 1.275 GB, free: 186 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001031/1.103, allocations: 0.6963 MB / 1.276 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001381/1.104, allocations: 266.3 kB / 1.276 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005619/1.11, allocations: 4.626 MB / 1.281 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001078/1.111, allocations: 1.521 MB / 1.282 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002374/1.111, allocations: 70.22 kB / 1.282 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of SimCode: time 7.61e-07/1.111, allocations: 0 / 1.282 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.03638/1.147, allocations: 31.46 MB / 1.313 GB, free: 158.4 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches