Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.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.TestCase9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, 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.001177/0.001177, allocations: 195.6 kB / 16.14 MB, free: 6.66 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.419/1.419, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.839/2.839, allocations: 472.6 MB / 0.7447 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001194, allocations: 65.38 kB / 0.9113 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3607, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9): time 0.1792/0.54, allocations: 155.8 MB / 1.22 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0304/0.5704, allocations: 22.2 MB / 1.241 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002677/0.5731, allocations: 55.62 kB / 1.241 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003896/0.5771, allocations: 3.15 MB / 1.244 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003344/0.5805, allocations: 1.96 MB / 1.246 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002216/0.5827, allocations: 0.692 MB / 1.247 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.5662/1.149, allocations: 2.62 MB / 1.25 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002379/1.151, allocations: 1.339 MB / 1.251 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002097/1.153, allocations: 1.125 MB / 1.252 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003187/1.157, allocations: 2.243 MB / 1.254 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003407/1.157, allocations: 70.66 kB / 1.254 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006426/1.158, allocations: 114.7 kB / 1.254 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008081/1.159, allocations: 0.7758 MB / 1.255 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001009/1.16, allocations: 1.057 MB / 1.256 GB, free: 8.723 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002396/1.162, allocations: 2.515 MB / 1.259 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/1.162, allocations: 2.625 kB / 1.259 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.373e-06/1.162, allocations: 0 / 1.259 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.468e-05/1.162, allocations: 0 / 1.259 GB, free: 8.227 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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.004402/1.166, allocations: 3.258 MB / 1.262 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/1.166, allocations: 11.22 kB / 1.262 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003317/1.167, allocations: 341.4 kB / 1.262 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00147/1.168, allocations: 1.408 MB / 1.264 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/1.168, allocations: 112.2 kB / 1.264 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/1.169, allocations: 90.95 kB / 1.264 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001805/1.17, allocations: 1.009 MB / 1.265 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/1.17, allocations: 8.031 kB / 1.265 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.594e-05/1.171, allocations: 35.59 kB / 1.265 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.664e-05/1.171, allocations: 20.69 kB / 1.265 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001602/1.172, allocations: 0.8604 MB / 1.266 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006333/1.178, allocations: 4.572 MB / 1.27 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001975/1.18, allocations: 0.9826 MB / 1.271 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001026/1.182, allocations: 0.5639 MB / 1.272 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.627e-05/1.182, allocations: 17.05 kB / 1.272 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001234/1.183, allocations: 0.598 MB / 1.272 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=101): time 3.216e-06/1.183, allocations: 0.5312 kB / 1.272 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of matching and sorting (n=101): time 0.005439/1.188, allocations: 2.326 MB / 1.274 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/1.188, allocations: 67.7 kB / 1.274 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006563/1.195, allocations: 5.1 MB / 1.279 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001339/1.195, allocations: 54 kB / 1.28 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009493/1.196, allocations: 1.378 MB / 1.281 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002388/1.196, allocations: 327.1 kB / 1.281 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002728/1.197, allocations: 174.8 kB / 1.281 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.356e-05/1.197, allocations: 348.9 kB / 1.282 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008912/1.198, allocations: 424.7 kB / 1.282 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009627/1.199, allocations: 0.598 MB / 1.283 GB, free: 2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001588/1.2, allocations: 0.9937 MB / 1.284 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/1.2, allocations: 0.9375 kB / 1.284 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002981/1.203, allocations: 1.615 MB / 1.285 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/1.203, allocations: 10.69 kB / 1.285 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/1.203, allocations: 3.438 kB / 1.285 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007046/1.204, allocations: 263.3 kB / 1.285 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007116/1.205, allocations: 192.8 kB / 1.286 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004482/1.209, allocations: 4.367 MB / 1.29 GB, free: 14.92 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/1.21, allocations: 144.4 kB / 1.29 GB, free: 14.87 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.838e-05/1.21, allocations: 38.25 kB / 1.29 GB, free: 14.87 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 41 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition9,$PRE.intGai.nextTimeEvent,$whenCondition8,$PRE.reference.nextTimeEvent,$whenCondition7,$PRE.outdoorTemp.nextTimeEvent,$whenCondition6,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition5,$PRE.tableSolRadWall.nextTimeEvent,$whenCondition4,$PRE.HSky.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,HSky.nextTimeEventScaled,$PRE.HSky.nextTimeEventScaled,HSky.nextTimeEvent,tableSolRadWall.nextTimeEventScaled,$PRE.tableSolRadWall.nextTimeEventScaled,tableSolRadWall.nextTimeEvent,greaterThreshold2.y,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 (108): * Single equations (assignments): 106 * 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 {(1,3,100.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001414/1.212, allocations: 0.8685 MB / 1.291 GB, free: 14.74 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003504/1.212, allocations: 312.7 kB / 1.291 GB, free: 14.57 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005451/1.213, allocations: 385.9 kB / 1.292 GB, free: 14.53 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/1.213, allocations: 10.25 kB / 1.292 GB, free: 14.53 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.32e-05/1.213, allocations: 3.625 kB / 1.292 GB, free: 14.53 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.886e-06/1.213, allocations: 4.141 kB / 1.292 GB, free: 14.53 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004845/1.218, allocations: 3.231 MB / 1.295 GB, free: 14.11 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/1.218, allocations: 0 / 1.295 GB, free: 14.11 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005169/1.218, allocations: 111.4 kB / 1.295 GB, free: 14.11 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006147/1.219, allocations: 257.9 kB / 1.295 GB, free: 14.08 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.296e-05/1.219, allocations: 26.14 kB / 1.295 GB, free: 14.08 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004278/1.223, allocations: 4.352 MB / 1.299 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/1.223, allocations: 6.969 kB / 1.299 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003661/1.227, allocations: 2.184 MB / 1.302 GB, free: 11.05 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007476/1.228, allocations: 432.4 kB / 1.302 GB, free: 10.78 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002379/1.228, allocations: 30.16 kB / 1.302 GB, free: 10.77 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006635/1.229, allocations: 66.89 kB / 1.302 GB, free: 10.77 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002182/1.229, allocations: 90.66 kB / 1.302 GB, free: 10.77 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.521e-05/1.229, allocations: 38.03 kB / 1.302 GB, free: 10.77 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.003864/1.233, allocations: 3.741 MB / 1.306 GB, free: 10.62 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.233, allocations: 0 / 1.306 GB, free: 10.62 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001231/1.234, allocations: 384.1 kB / 1.306 GB, free: 10.59 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: 26 ($whenCondition9,$whenCondition8,$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,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,tableSolRadWall.nextTimeEventScaled,HSky.nextTimeEvent,HSky.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 15 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,tableSolRadWall.nextTimeEvent,HSky.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,HSky.nextTimeEventScaled,tableSolRadWall.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.001122/1.235, allocations: 0.5044 MB / 1.307 GB, free: 10.4 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002273/1.237, allocations: 1.356 MB / 1.308 GB, free: 10.14 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.237, allocations: 2.594 kB / 1.308 GB, free: 10.14 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001238/1.239, allocations: 0.8479 MB / 1.309 GB, free: 9.887 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001781/1.24, allocations: 372.4 kB / 1.309 GB, free: 9.836 MB / 1.014 GB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007807/1.248, allocations: 6.738 MB / 1.316 GB, free: 7.262 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001457/1.25, allocations: 1.958 MB / 1.318 GB, free: 6.496 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008045/1.251, allocations: 241.5 kB / 1.318 GB, free: 6.453 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002398/1.251, allocations: 88.41 kB / 1.318 GB, free: 6.449 MB / 1.014 GB Notification: Performance of SimCode: time 5.81e-07/1.251, allocations: 0 / 1.318 GB, free: 6.449 MB / 1.014 GB Notification: Performance of Templates: time 0.03444/1.285, allocations: 17.98 MB / 1.336 GB, free: 3.234 MB / 1.014 GB make -j1 -f Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.makefile (rm -f Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe ; mkfifo Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe >> ../files/Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.sim & ./Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe 2>&1)