Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.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.TestCase8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001224/0.001224, allocations: 199.2 kB / 16.14 MB, free: 6.695 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.348/1.348, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.737/2.737, allocations: 472.6 MB / 0.7447 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 63.83 kB / 0.9113 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3113, allocations: 159.9 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8): time 0.1702/0.4816, allocations: 155.6 MB / 1.219 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02647/0.5081, allocations: 22.08 MB / 1.241 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002461/0.5106, allocations: 59.62 kB / 1.241 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003378/0.514, allocations: 2.694 MB / 1.244 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002876/0.5169, allocations: 1.71 MB / 1.245 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002446/0.5194, allocations: 0.6228 MB / 1.246 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003807/0.5232, allocations: 2.425 MB / 1.248 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5856/1.109, allocations: 1.227 MB / 1.25 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002593/1.111, allocations: 1.011 MB / 1.251 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0034/1.115, allocations: 1.975 MB / 1.252 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003925/1.115, allocations: 67.06 kB / 1.253 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005509/1.116, allocations: 113.2 kB / 1.253 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007327/1.117, allocations: 0.6948 MB / 1.253 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001119/1.118, allocations: 0.9594 MB / 1.254 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002205/1.12, allocations: 2.32 MB / 1.257 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/1.12, allocations: 2.719 kB / 1.257 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.785e-06/1.12, allocations: 0.6094 kB / 1.257 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.533e-05/1.12, allocations: 5.438 kB / 1.257 GB, free: 8.18 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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.004484/1.124, allocations: 2.949 MB / 1.259 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/1.125, allocations: 10.5 kB / 1.259 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003367/1.125, allocations: 311.6 kB / 1.26 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00155/1.126, allocations: 1.285 MB / 1.261 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000141/1.127, allocations: 100.8 kB / 1.261 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/1.127, allocations: 94.56 kB / 1.261 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001722/1.128, allocations: 0.9649 MB / 1.262 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.592e-05/1.128, allocations: 4 kB / 1.262 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.841e-05/1.129, allocations: 37.41 kB / 1.262 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/1.129, allocations: 18.97 kB / 1.262 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001535/1.13, allocations: 0.816 MB / 1.263 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006916/1.137, allocations: 4.418 MB / 1.267 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002054/1.139, allocations: 0.9362 MB / 1.268 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009751/1.14, allocations: 0.5118 MB / 1.269 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.733e-05/1.14, allocations: 13.14 kB / 1.269 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00112/1.141, allocations: 0.5551 MB / 1.269 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=91): time 3.887e-06/1.141, allocations: 0 / 1.269 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of matching and sorting (n=91): time 0.00521/1.147, allocations: 2.154 MB / 1.271 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/1.147, allocations: 65.77 kB / 1.271 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005717/1.152, allocations: 4.452 MB / 1.276 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003471/1.153, allocations: 51.95 kB / 1.276 GB, free: 19.05 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009087/1.154, allocations: 1.219 MB / 1.277 GB, free: 18.88 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002673/1.154, allocations: 292.9 kB / 1.277 GB, free: 18.7 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002536/1.154, allocations: 159 kB / 1.277 GB, free: 18.69 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001402/1.154, allocations: 351.6 kB / 1.278 GB, free: 18.38 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000825/1.155, allocations: 398 kB / 1.278 GB, free: 18.38 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009106/1.156, allocations: 0.5511 MB / 1.279 GB, free: 18.23 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001531/1.158, allocations: 0.92 MB / 1.28 GB, free: 18.09 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/1.158, allocations: 1.125 kB / 1.28 GB, free: 18.09 MB / 1.014 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002988/1.161, allocations: 1.498 MB / 1.281 GB, free: 17.86 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/1.161, allocations: 6.438 kB / 1.281 GB, free: 17.86 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/1.161, allocations: 6.516 kB / 1.281 GB, free: 17.86 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007534/1.161, allocations: 262.8 kB / 1.281 GB, free: 17.84 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006566/1.162, allocations: 169.4 kB / 1.281 GB, free: 17.84 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00452/1.167, allocations: 4.373 MB / 1.286 GB, free: 15.18 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/1.168, allocations: 137 kB / 1.286 GB, free: 15.13 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.122e-05/1.168, allocations: 38.34 kB / 1.286 GB, free: 15.13 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 36 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition8,$PRE.intGai.nextTimeEvent,$whenCondition7,$PRE.reference.nextTimeEvent,$whenCondition6,$PRE.outdoorTemp1.nextTimeEvent,$whenCondition5,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWall.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,tableSolRadWall.nextTimeEventScaled,$PRE.tableSolRadWall.nextTimeEventScaled,tableSolRadWall.nextTimeEvent,greaterThreshold2.y,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,outdoorTemp1.nextTimeEventScaled,$PRE.outdoorTemp1.nextTimeEventScaled,outdoorTemp1.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 (96): * Single equations (assignments): 94 * 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.001412/1.169, allocations: 0.7744 MB / 1.287 GB, free: 15.01 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004055/1.17, allocations: 282.1 kB / 1.287 GB, free: 14.86 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000539/1.17, allocations: 344.4 kB / 1.287 GB, free: 14.81 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/1.17, allocations: 7.812 kB / 1.287 GB, free: 14.81 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.458e-05/1.17, allocations: 4.031 kB / 1.287 GB, free: 14.81 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.415e-06/1.17, allocations: 6.328 kB / 1.287 GB, free: 14.81 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004547/1.175, allocations: 2.985 MB / 1.29 GB, free: 14.39 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/1.175, allocations: 0 / 1.29 GB, free: 14.39 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004414/1.175, allocations: 100.5 kB / 1.29 GB, free: 14.39 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000612/1.176, allocations: 250.7 kB / 1.291 GB, free: 14.37 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.19e-05/1.176, allocations: 24.28 kB / 1.291 GB, free: 14.37 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004205/1.18, allocations: 4.359 MB / 1.295 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.18, allocations: 0 / 1.295 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003315/1.184, allocations: 2.018 MB / 1.297 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005828/1.184, allocations: 389.6 kB / 1.297 GB, free: 11.12 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001997/1.184, allocations: 29 kB / 1.297 GB, free: 11.11 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005736/1.185, allocations: 61.53 kB / 1.297 GB, free: 11.11 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002135/1.185, allocations: 89.8 kB / 1.297 GB, free: 11.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.828e-05/1.185, allocations: 31.91 kB / 1.297 GB, free: 11.1 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.003504/1.189, allocations: 3.261 MB / 1.301 GB, free: 10.95 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.4e-07/1.189, allocations: 0 / 1.301 GB, free: 10.95 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001383/1.19, allocations: 367.4 kB / 1.301 GB, free: 10.92 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: 23 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp1.nextTimeEvent,outdoorTemp1.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,tableSolRadWall.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 13 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp1.nextTimeEvent,tableSolRadWindow.nextTimeEvent,tableSolRadWall.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWall.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp1.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.001147/1.191, allocations: 0.5 MB / 1.301 GB, free: 10.75 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002392/1.194, allocations: 1.267 MB / 1.303 GB, free: 10.49 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/1.194, allocations: 0 / 1.303 GB, free: 10.49 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001207/1.195, allocations: 0.8073 MB / 1.303 GB, free: 10.24 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001722/1.197, allocations: 337.6 kB / 1.304 GB, free: 10.21 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.008515/1.205, allocations: 6.03 MB / 1.31 GB, free: 7.859 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001551/1.207, allocations: 1.828 MB / 1.311 GB, free: 7.094 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000845/1.208, allocations: 225.4 kB / 1.312 GB, free: 7.055 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000232/1.208, allocations: 81.95 kB / 1.312 GB, free: 7.047 MB / 1.014 GB Notification: Performance of SimCode: time 1.112e-06/1.208, allocations: 0 / 1.312 GB, free: 7.047 MB / 1.014 GB Notification: Performance of Templates: time 0.03406/1.242, allocations: 16.71 MB / 1.328 GB, free: 5.531 MB / 1.014 GB make -j1 -f Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.makefile (rm -f Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe ; mkfifo Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe ; head -c 1048576 < Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe >> ../files/Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.sim & ./Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe 2>&1)