Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_8_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.001372/0.001372, allocations: 107.5 kB / 16.37 MB, free: 6.465 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.001636/0.001636, allocations: 186.3 kB / 17.31 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.583/1.583, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.807/1.807, allocations: 292.3 MB / 0.5496 GB, free: 17.52 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00141/0.001411, allocations: 71.12 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2272, allocations: 114.6 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.5725/0.7998, allocations: 157.2 MB / 0.9383 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02938/0.8292, allocations: 21.79 MB / 0.9596 GB, free: 6.965 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002693/0.832, allocations: 55.69 kB / 0.9597 GB, free: 6.91 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.003021/0.8351, allocations: 2.147 MB / 0.9618 GB, free: 4.758 MB / 0.7481 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.002965/0.8381, allocations: 1.421 MB / 0.9632 GB, free: 3.332 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.00194/0.84, allocations: 0.5322 MB / 0.9637 GB, free: 2.805 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002986/0.843, allocations: 1.813 MB / 0.9655 GB, free: 0.9883 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002002/0.8451, allocations: 1.082 MB / 0.9665 GB, free: 15.94 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001841/0.8469, allocations: 0.8724 MB / 0.9674 GB, free: 15.06 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002302/0.8492, allocations: 1.542 MB / 0.9689 GB, free: 13.52 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0003733/0.8496, allocations: 89.69 kB / 0.969 GB, free: 13.43 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005922/0.8502, allocations: 132 kB / 0.9691 GB, free: 13.3 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.000668/0.8509, allocations: 0.5286 MB / 0.9696 GB, free: 12.77 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001226/0.8522, allocations: 0.7661 MB / 0.9704 GB, free: 12 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.002495/0.8547, allocations: 1.848 MB / 0.9722 GB, free: 10.15 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.8547, allocations: 4 kB / 0.9722 GB, free: 10.15 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.245e-06/0.8547, allocations: 0 / 0.9722 GB, free: 10.15 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.944e-05/0.8548, allocations: 0 / 0.9722 GB, free: 10.15 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.00432/0.8591, allocations: 2.28 MB / 0.9744 GB, free: 7.805 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.8592, allocations: 12.02 kB / 0.9744 GB, free: 7.793 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003195/0.8595, allocations: 234 kB / 0.9746 GB, free: 7.562 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001383/0.8609, allocations: 0.9995 MB / 0.9756 GB, free: 6.496 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001471/0.8611, allocations: 83 kB / 0.9757 GB, free: 6.41 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/0.8612, allocations: 71.94 kB / 0.9757 GB, free: 6.34 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001349/0.8625, allocations: 0.7173 MB / 0.9764 GB, free: 5.609 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/0.8626, allocations: 12 kB / 0.9765 GB, free: 5.598 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.894e-05/0.8626, allocations: 23.98 kB / 0.9765 GB, free: 5.574 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.618e-05/0.8627, allocations: 16.75 kB / 0.9765 GB, free: 5.559 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/0.8639, allocations: 0.5829 MB / 0.9771 GB, free: 4.973 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005104/0.869, allocations: 3.507 MB / 0.9805 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001582/0.8706, allocations: 0.7143 MB / 0.9812 GB, free: 496 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007607/0.8714, allocations: 406.9 kB / 0.9816 GB, free: 88 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 5.584e-05/0.8715, allocations: 12.55 kB / 0.9816 GB, free: 76 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008378/0.8723, allocations: 430.9 kB / 0.982 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=70): time 3.116e-06/0.8723, allocations: 0 / 0.982 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=70): time 0.00452/0.8768, allocations: 1.801 MB / 0.9838 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.367e-05/0.8769, allocations: 63.95 kB / 0.9838 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003824/0.8808, allocations: 3.304 MB / 0.987 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001439/0.8809, allocations: 41.7 kB / 0.9871 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008486/0.8818, allocations: 0.886 MB / 0.988 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002541/0.882, allocations: 224.8 kB / 0.9882 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002227/0.8823, allocations: 134.6 kB / 0.9883 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.8825, allocations: 334 kB / 0.9886 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007032/0.8832, allocations: 305.8 kB / 0.9889 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007461/0.8839, allocations: 434.3 kB / 0.9893 GB, free: 7.98 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001289/0.8852, allocations: 0.721 MB / 0.99 GB, free: 7.219 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.8852, allocations: 0 / 0.99 GB, free: 7.219 MB / 0.7794 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002451/0.8877, allocations: 1.211 MB / 0.9912 GB, free: 5.996 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.8877, allocations: 11.94 kB / 0.9912 GB, free: 5.984 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.8877, allocations: 7.938 kB / 0.9912 GB, free: 5.977 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000734/0.8885, allocations: 258.8 kB / 0.9915 GB, free: 5.719 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004911/0.889, allocations: 131.8 kB / 0.9916 GB, free: 5.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005153/0.8941, allocations: 4.758 MB / 0.9962 GB, free: 0.5625 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008099/0.895, allocations: 91.33 kB / 0.9963 GB, free: 484 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.736e-05/0.8951, allocations: 31.98 kB / 0.9964 GB, free: 452 kB / 0.7794 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,$PRE.mean.y,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.0009652/0.896, allocations: 0.6106 MB / 0.997 GB, free: 15.83 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002751/0.8963, allocations: 201.4 kB / 0.9971 GB, free: 15.63 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003723/0.8967, allocations: 248.5 kB / 0.9974 GB, free: 15.38 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/0.8967, allocations: 8 kB / 0.9974 GB, free: 15.37 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.09e-05/0.8967, allocations: 7.938 kB / 0.9974 GB, free: 15.36 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.8968, allocations: 3.984 kB / 0.9974 GB, free: 15.36 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003796/0.9006, allocations: 2.339 MB / 0.9997 GB, free: 12.95 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.9006, allocations: 0 / 0.9997 GB, free: 12.95 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003096/0.9009, allocations: 63.91 kB / 0.9997 GB, free: 12.89 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006288/0.9015, allocations: 253.5 kB / 1 GB, free: 12.64 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.127e-05/0.9016, allocations: 16 kB / 1 GB, free: 12.62 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005062/0.9067, allocations: 4.761 MB / 1.005 GB, free: 7.586 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.9067, allocations: 5.906 kB / 1.005 GB, free: 7.582 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002845/0.9096, allocations: 1.572 MB / 1.006 GB, free: 5.98 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000512/0.9101, allocations: 310.4 kB / 1.006 GB, free: 5.656 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001377/0.9102, allocations: 15.98 kB / 1.007 GB, free: 5.641 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004348/0.9107, allocations: 41.09 kB / 1.007 GB, free: 5.602 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001967/0.9109, allocations: 72.69 kB / 1.007 GB, free: 5.531 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-05/0.911, allocations: 27.98 kB / 1.007 GB, free: 5.504 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002601/0.9136, allocations: 2.423 MB / 1.009 GB, free: 3.066 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9136, allocations: 0 / 1.009 GB, free: 3.066 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001006/0.9146, allocations: 288.3 kB / 1.009 GB, free: 2.785 MB / 0.795 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) * 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.001212/0.9158, allocations: 0.4991 MB / 1.01 GB, free: 2.531 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002111/0.9179, allocations: 1.057 MB / 1.011 GB, free: 1.449 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.9179, allocations: 0 / 1.011 GB, free: 1.449 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001092/0.919, allocations: 0.6943 MB / 1.011 GB, free: 0.7266 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001364/0.9204, allocations: 277.9 kB / 1.012 GB, free: 488 kB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005932/0.9264, allocations: 4.062 MB / 1.016 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001187/0.9276, allocations: 1.513 MB / 1.017 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002403/0.9278, allocations: 71.42 kB / 1.017 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of SimCode: time 1.302e-06/0.9279, allocations: 0 / 1.017 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of Templates: time 0.04307/0.9709, allocations: 31.39 MB / 1.048 GB, free: 11.44 MB / 0.8419 GB make -j1 -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.makefile (rm -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & ./Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1)