Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_1.6_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.001085/0.001085, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.008482/0.008482, allocations: 170.3 kB / 16.26 MB, free: 6.613 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.401/1.401, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.791/2.791, allocations: 473.4 MB / 0.7469 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003654/0.0003654, allocations: 11.25 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3147, allocations: 162.2 MB / 1.074 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.1628/0.4776, allocations: 152.9 MB / 1.223 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02662/0.5043, allocations: 21.62 MB / 1.245 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002137/0.5064, allocations: 47.69 kB / 1.245 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002474/0.5089, allocations: 2.117 MB / 1.247 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002193/0.5111, allocations: 1.371 MB / 1.248 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001489/0.5126, allocations: 0.502 MB / 1.248 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002284/0.5149, allocations: 1.902 MB / 1.25 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001184/0.5161, allocations: 0.9587 MB / 1.251 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009488/0.5171, allocations: 0.7514 MB / 1.252 GB, free: 0.7148 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5877/1.105, allocations: 1.472 MB / 1.253 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002614/1.105, allocations: 37.34 kB / 1.253 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003744/1.106, allocations: 78.47 kB / 1.254 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005185/1.106, allocations: 0.4956 MB / 1.254 GB, free: 9.375 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006861/1.107, allocations: 0.7246 MB / 1.255 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001936/1.109, allocations: 1.74 MB / 1.256 GB, free: 9.297 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/1.109, allocations: 0 / 1.256 GB, free: 9.297 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.653e-06/1.109, allocations: 0 / 1.256 GB, free: 9.297 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.554e-05/1.109, allocations: 0.75 kB / 1.256 GB, free: 9.297 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.00301/1.112, allocations: 2.012 MB / 1.258 GB, free: 8.125 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/1.112, allocations: 9.344 kB / 1.258 GB, free: 8.125 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002663/1.112, allocations: 231.4 kB / 1.259 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001136/1.113, allocations: 0.9958 MB / 1.26 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001431/1.113, allocations: 99.02 kB / 1.26 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/1.113, allocations: 70.31 kB / 1.26 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/1.115, allocations: 0.7383 MB / 1.261 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/1.115, allocations: 1.719 kB / 1.261 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.52e-05/1.115, allocations: 27.55 kB / 1.261 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/1.115, allocations: 15.34 kB / 1.261 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/1.116, allocations: 0.6142 MB / 1.261 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004489/1.121, allocations: 3.56 MB / 1.265 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/1.122, allocations: 0.7413 MB / 1.265 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007151/1.123, allocations: 423 kB / 1.266 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.777e-05/1.123, allocations: 14.61 kB / 1.266 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007504/1.124, allocations: 437.4 kB / 1.266 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=70): time 2.374e-06/1.124, allocations: 2.906 kB / 1.266 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of matching and sorting (n=70): time 0.004217/1.128, allocations: 1.835 MB / 1.268 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/1.128, allocations: 64.98 kB / 1.268 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003611/1.132, allocations: 3.303 MB / 1.271 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.978e-05/1.132, allocations: 45.03 kB / 1.271 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007132/1.132, allocations: 0.8899 MB / 1.272 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001726/1.132, allocations: 224.3 kB / 1.272 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.471e-05/1.133, allocations: 68.88 kB / 1.272 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002801/1.133, allocations: 338.6 kB / 1.273 GB, free: 20.36 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007159/1.134, allocations: 327.2 kB / 1.273 GB, free: 20.36 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007545/1.134, allocations: 450 kB / 1.274 GB, free: 20.24 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001319/1.136, allocations: 0.7436 MB / 1.274 GB, free: 20.11 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/1.136, allocations: 1 kB / 1.274 GB, free: 20.11 MB / 1.014 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002664/1.138, allocations: 1.248 MB / 1.275 GB, free: 19.91 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/1.138, allocations: 11.27 kB / 1.275 GB, free: 19.91 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/1.138, allocations: 3.5 kB / 1.275 GB, free: 19.91 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006934/1.139, allocations: 259.5 kB / 1.276 GB, free: 19.89 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000499/1.14, allocations: 148.2 kB / 1.276 GB, free: 19.89 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004457/1.144, allocations: 4.38 MB / 1.28 GB, free: 17.22 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006995/1.145, allocations: 118.1 kB / 1.28 GB, free: 17.18 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.417e-05/1.145, allocations: 28.61 kB / 1.28 GB, free: 17.18 MB / 1.014 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.001038/1.146, allocations: 0.5989 MB / 1.281 GB, free: 17.07 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001924/1.146, allocations: 205.4 kB / 1.281 GB, free: 16.96 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004021/1.147, allocations: 262.2 kB / 1.281 GB, free: 16.93 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/1.147, allocations: 6.781 kB / 1.281 GB, free: 16.93 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.897e-05/1.147, allocations: 8.938 kB / 1.281 GB, free: 16.93 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/1.147, allocations: 5.203 kB / 1.281 GB, free: 16.93 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003827/1.15, allocations: 2.359 MB / 1.284 GB, free: 16.54 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/1.15, allocations: 0 / 1.284 GB, free: 16.54 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003097/1.151, allocations: 73.22 kB / 1.284 GB, free: 16.54 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000609/1.151, allocations: 254.7 kB / 1.284 GB, free: 16.52 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.079e-05/1.151, allocations: 18.08 kB / 1.284 GB, free: 16.52 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004281/1.156, allocations: 4.373 MB / 1.288 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/1.156, allocations: 5.281 kB / 1.288 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002729/1.158, allocations: 1.607 MB / 1.29 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004202/1.159, allocations: 323.4 kB / 1.29 GB, free: 13.34 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001494/1.159, allocations: 18.36 kB / 1.29 GB, free: 13.34 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004874/1.16, allocations: 53.78 kB / 1.29 GB, free: 13.34 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001783/1.16, allocations: 72.56 kB / 1.29 GB, free: 13.34 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.674e-05/1.16, allocations: 23.42 kB / 1.29 GB, free: 13.34 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002881/1.163, allocations: 2.426 MB / 1.293 GB, free: 13.19 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.3e-07/1.163, allocations: 0 / 1.293 GB, free: 13.19 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001018/1.164, allocations: 301.6 kB / 1.293 GB, free: 13.16 MB / 1.014 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.001128/1.165, allocations: 0.4903 MB / 1.293 GB, free: 12.97 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001937/1.167, allocations: 1.089 MB / 1.294 GB, free: 12.71 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.167, allocations: 0 / 1.294 GB, free: 12.71 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001016/1.168, allocations: 0.6964 MB / 1.295 GB, free: 12.46 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001409/1.169, allocations: 268.2 kB / 1.295 GB, free: 12.43 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006151/1.175, allocations: 4.625 MB / 1.3 GB, free: 10.6 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00147/1.177, allocations: 1.53 MB / 1.301 GB, free: 9.863 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00058/1.178, allocations: 144.1 kB / 1.302 GB, free: 9.836 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001962/1.178, allocations: 65.44 kB / 1.302 GB, free: 9.828 MB / 1.014 GB Notification: Performance of SimCode: time 7.71e-07/1.178, allocations: 5.859 kB / 1.302 GB, free: 9.824 MB / 1.014 GB Notification: Performance of Templates: time 0.02258/1.2, allocations: 13.25 MB / 1.315 GB, free: 8.855 MB / 1.014 GB make -j1 -f Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.makefile (rm -f Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & ./Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1)