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.00162/0.001621, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001904/0.001904, allocations: 194.5 kB / 16.14 MB, free: 6.703 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.411/1.411, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.813/2.813, allocations: 472.6 MB / 0.7447 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002323/0.002324, allocations: 69.39 kB / 0.9114 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3445, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.1703/0.5148, allocations: 155 MB / 1.219 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02664/0.5415, allocations: 21.86 MB / 1.24 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002377/0.5439, allocations: 51.69 kB / 1.24 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002436/0.5464, allocations: 2.109 MB / 1.242 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002046/0.5485, allocations: 1.367 MB / 1.244 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001485/0.55, allocations: 0.517 MB / 1.244 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00198/0.552, allocations: 1.902 MB / 1.246 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001138/0.5531, allocations: 0.9821 MB / 1.247 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009027/0.554, allocations: 0.7904 MB / 1.248 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001451/0.5555, allocations: 1.522 MB / 1.249 GB, free: 160 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001319/0.5556, allocations: 52 kB / 1.249 GB, free: 108 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000298/0.5559, allocations: 99.97 kB / 1.249 GB, free: 8 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.5957/1.152, allocations: 0.5093 MB / 1.25 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009352/1.153, allocations: 0.7299 MB / 1.251 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002046/1.155, allocations: 1.777 MB / 1.252 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/1.155, allocations: 1.203 kB / 1.252 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.423e-06/1.155, allocations: 1.062 kB / 1.252 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.116e-05/1.155, allocations: 2.906 kB / 1.252 GB, free: 10.16 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.003552/1.158, allocations: 2.278 MB / 1.255 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/1.158, allocations: 10.88 kB / 1.255 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000316/1.159, allocations: 230 kB / 1.255 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/1.16, allocations: 0.9996 MB / 1.256 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001425/1.16, allocations: 93.67 kB / 1.256 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/1.16, allocations: 66.75 kB / 1.256 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/1.162, allocations: 0.7282 MB / 1.257 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.56e-05/1.162, allocations: 3.375 kB / 1.257 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.896e-05/1.162, allocations: 30.56 kB / 1.257 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.185e-05/1.162, allocations: 14.78 kB / 1.257 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001267/1.163, allocations: 0.5896 MB / 1.257 GB, free: 8.125 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005241/1.168, allocations: 3.521 MB / 1.261 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001485/1.17, allocations: 0.7122 MB / 1.261 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007149/1.17, allocations: 409 kB / 1.262 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.313e-05/1.171, allocations: 13.36 kB / 1.262 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008198/1.171, allocations: 432.3 kB / 1.262 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=70): time 5.089e-06/1.171, allocations: 0 / 1.262 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of matching and sorting (n=70): time 0.004282/1.176, allocations: 1.797 MB / 1.264 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/1.176, allocations: 63.56 kB / 1.264 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003767/1.179, allocations: 3.305 MB / 1.267 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.441e-05/1.18, allocations: 41.78 kB / 1.267 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006971/1.18, allocations: 0.8907 MB / 1.268 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002039/1.18, allocations: 225.3 kB / 1.268 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002133/1.181, allocations: 128 kB / 1.268 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.788e-05/1.181, allocations: 336.5 kB / 1.269 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006997/1.182, allocations: 308.9 kB / 1.269 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007382/1.182, allocations: 437.8 kB / 1.27 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001287/1.184, allocations: 0.7195 MB / 1.27 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/1.184, allocations: 1.312 kB / 1.27 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002842/1.186, allocations: 1.209 MB / 1.271 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/1.186, allocations: 6.281 kB / 1.271 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/1.186, allocations: 5.266 kB / 1.271 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008792/1.187, allocations: 260.7 kB / 1.272 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005784/1.188, allocations: 142.2 kB / 1.272 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005091/1.193, allocations: 4.369 MB / 1.276 GB, free: 18.05 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009263/1.194, allocations: 100.4 kB / 1.276 GB, free: 18.01 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.783e-05/1.194, allocations: 29.36 kB / 1.276 GB, free: 18.01 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.001302/1.195, allocations: 0.6023 MB / 1.277 GB, free: 17.9 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002384/1.196, allocations: 204.2 kB / 1.277 GB, free: 17.79 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003927/1.196, allocations: 254 kB / 1.277 GB, free: 17.76 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-06/1.196, allocations: 8.094 kB / 1.277 GB, free: 17.76 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.58e-05/1.196, allocations: 8.062 kB / 1.277 GB, free: 17.75 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/1.196, allocations: 3.234 kB / 1.277 GB, free: 17.75 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004182/1.2, allocations: 2.334 MB / 1.28 GB, free: 17.37 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/1.2, allocations: 2.766 kB / 1.28 GB, free: 17.37 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003153/1.201, allocations: 70.88 kB / 1.28 GB, free: 17.36 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000642/1.201, allocations: 252 kB / 1.28 GB, free: 17.34 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.311e-05/1.201, allocations: 23.33 kB / 1.28 GB, free: 17.34 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005004/1.206, allocations: 4.366 MB / 1.284 GB, free: 14.69 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.206, allocations: 5.859 kB / 1.284 GB, free: 14.69 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002973/1.209, allocations: 1.58 MB / 1.286 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005267/1.21, allocations: 307.6 kB / 1.286 GB, free: 14.17 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001629/1.21, allocations: 21.45 kB / 1.286 GB, free: 14.17 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004812/1.211, allocations: 46.39 kB / 1.286 GB, free: 14.17 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002289/1.211, allocations: 72.09 kB / 1.286 GB, free: 14.17 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.767e-05/1.211, allocations: 27.11 kB / 1.286 GB, free: 14.17 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.003439/1.214, allocations: 2.422 MB / 1.288 GB, free: 14.02 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.214, allocations: 0 / 1.288 GB, free: 14.02 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001232/1.216, allocations: 298 kB / 1.289 GB, free: 13.99 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.001176/1.217, allocations: 498 kB / 1.289 GB, free: 13.83 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002092/1.219, allocations: 1.066 MB / 1.29 GB, free: 13.57 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/1.219, allocations: 0 / 1.29 GB, free: 13.57 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001073/1.22, allocations: 0.6828 MB / 1.291 GB, free: 13.32 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001445/1.221, allocations: 262.8 kB / 1.291 GB, free: 13.3 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006207/1.228, allocations: 4.546 MB / 1.296 GB, free: 11.49 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001331/1.229, allocations: 1.528 MB / 1.297 GB, free: 10.75 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0005572/1.23, allocations: 156.4 kB / 1.297 GB, free: 10.73 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/1.23, allocations: 60.81 kB / 1.297 GB, free: 10.72 MB / 1.014 GB Notification: Performance of SimCode: time 7.02e-07/1.23, allocations: 1.312 kB / 1.297 GB, free: 10.72 MB / 1.014 GB Notification: Performance of Templates: time 0.02407/1.254, allocations: 13.61 MB / 1.311 GB, free: 9.758 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)