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.001145/0.001145, allocations: 102.2 kB / 16.29 MB, free: 6.43 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.001121/0.001121, allocations: 185 kB / 17.22 MB, free: 5.934 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.172/1.172, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.601/1.601, allocations: 292.3 MB / 0.5495 GB, free: 17.71 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.001254/0.001254, allocations: 67.89 kB / 0.6722 GB, free: 6.539 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.1828, allocations: 114.6 MB / 0.7841 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.4193/0.6021, allocations: 157.2 MB / 0.9376 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02102/0.6232, allocations: 21.81 MB / 0.9589 GB, free: 7.43 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00133/0.6245, allocations: 55.69 kB / 0.959 GB, free: 7.375 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002109/0.6267, allocations: 2.151 MB / 0.9611 GB, free: 5.219 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.001558/0.6283, allocations: 1.417 MB / 0.9625 GB, free: 3.797 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001025/0.6293, allocations: 0.5295 MB / 0.963 GB, free: 3.273 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001387/0.6307, allocations: 1.82 MB / 0.9647 GB, free: 1.449 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009914/0.6317, allocations: 1.083 MB / 0.9658 GB, free: 408 kB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007356/0.6324, allocations: 0.8856 MB / 0.9667 GB, free: 15.51 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00131/0.6337, allocations: 1.526 MB / 0.9682 GB, free: 13.98 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0001387/0.6339, allocations: 92 kB / 0.9682 GB, free: 13.89 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002609/0.6342, allocations: 143.9 kB / 0.9684 GB, free: 13.75 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0003609/0.6345, allocations: 0.5208 MB / 0.9689 GB, free: 13.23 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0005307/0.6351, allocations: 0.7563 MB / 0.9696 GB, free: 12.47 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.00132/0.6364, allocations: 1.856 MB / 0.9714 GB, free: 10.61 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.6364, allocations: 0 / 0.9714 GB, free: 10.61 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6364, allocations: 0 / 0.9714 GB, free: 10.61 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.372e-05/0.6364, allocations: 0 / 0.9714 GB, free: 10.61 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.002705/0.6391, allocations: 2.28 MB / 0.9737 GB, free: 8.262 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 2.874e-05/0.6392, allocations: 8.031 kB / 0.9737 GB, free: 8.254 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002241/0.6394, allocations: 230 kB / 0.9739 GB, free: 8.027 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.6405, allocations: 1.011 MB / 0.9749 GB, free: 6.949 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/0.6406, allocations: 83 kB / 0.975 GB, free: 6.863 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.07e-05/0.6407, allocations: 64 kB / 0.975 GB, free: 6.801 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.6418, allocations: 0.7297 MB / 0.9757 GB, free: 6.059 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/0.6418, allocations: 0 / 0.9757 GB, free: 6.059 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.519e-05/0.6419, allocations: 23.98 kB / 0.9758 GB, free: 6.035 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.6419, allocations: 20 kB / 0.9758 GB, free: 6.016 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.6429, allocations: 0.5868 MB / 0.9764 GB, free: 5.426 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003895/0.6468, allocations: 3.495 MB / 0.9798 GB, free: 1.672 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001298/0.6482, allocations: 0.7137 MB / 0.9805 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006548/0.6488, allocations: 406.9 kB / 0.9808 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 4.664e-05/0.6489, allocations: 17.94 kB / 0.9809 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006817/0.6496, allocations: 422.9 kB / 0.9813 GB, free: 116 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=70): time 2.394e-06/0.6496, allocations: 7.938 kB / 0.9813 GB, free: 108 kB / 0.7637 GB Notification: Performance of matching and sorting (n=70): time 0.003689/0.6533, allocations: 1.796 MB / 0.983 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.6533, allocations: 63.95 kB / 0.9831 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002933/0.6563, allocations: 3.304 MB / 0.9863 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.737e-05/0.6563, allocations: 45.7 kB / 0.9864 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006551/0.657, allocations: 0.886 MB / 0.9872 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.000166/0.6572, allocations: 220.9 kB / 0.9874 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001833/0.6574, allocations: 134.6 kB / 0.9876 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.6575, allocations: 334 kB / 0.9879 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005771/0.6581, allocations: 305.8 kB / 0.9882 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006403/0.6587, allocations: 434.4 kB / 0.9886 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/0.6598, allocations: 0.7209 MB / 0.9893 GB, free: 7.684 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.6598, allocations: 6.25 kB / 0.9893 GB, free: 7.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001921/0.6618, allocations: 1.209 MB / 0.9905 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.6618, allocations: 8.781 kB / 0.9905 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.6618, allocations: 9.656 kB / 0.9905 GB, free: 6.441 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006316/0.6624, allocations: 251.1 kB / 0.9907 GB, free: 6.191 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004154/0.6629, allocations: 136.5 kB / 0.9909 GB, free: 6.059 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004304/0.6672, allocations: 4.762 MB / 0.9955 GB, free: 1.027 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004369/0.6676, allocations: 91.33 kB / 0.9956 GB, free: 0.9375 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.66e-05/0.6677, allocations: 27.98 kB / 0.9956 GB, free: 0.9102 MB / 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.000615/0.6683, allocations: 0.6068 MB / 0.9962 GB, free: 304 kB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001718/0.6685, allocations: 201.4 kB / 0.9964 GB, free: 100 kB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003185/0.6688, allocations: 252.5 kB / 0.9967 GB, free: 15.84 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.6688, allocations: 8 kB / 0.9967 GB, free: 15.84 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.6688, allocations: 4 kB / 0.9967 GB, free: 15.83 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.6688, allocations: 3.984 kB / 0.9967 GB, free: 15.83 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003091/0.6719, allocations: 2.334 MB / 0.999 GB, free: 13.43 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.672, allocations: 0 / 0.999 GB, free: 13.43 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002732/0.6722, allocations: 67.91 kB / 0.999 GB, free: 13.36 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005441/0.6728, allocations: 253.5 kB / 0.9993 GB, free: 13.11 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.575e-05/0.6728, allocations: 23.92 kB / 0.9993 GB, free: 13.08 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004192/0.677, allocations: 4.765 MB / 1.004 GB, free: 8.051 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.6771, allocations: 0 / 1.004 GB, free: 8.051 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002321/0.6794, allocations: 1.571 MB / 1.005 GB, free: 6.453 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003276/0.6797, allocations: 314.4 kB / 1.006 GB, free: 6.125 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.6798, allocations: 17.48 kB / 1.006 GB, free: 6.109 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003687/0.6802, allocations: 43.91 kB / 1.006 GB, free: 6.066 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/0.6804, allocations: 72.45 kB / 1.006 GB, free: 5.996 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.998e-05/0.6804, allocations: 23.98 kB / 1.006 GB, free: 5.973 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002162/0.6826, allocations: 2.419 MB / 1.008 GB, free: 3.539 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6826, allocations: 4 kB / 1.008 GB, free: 3.535 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0007118/0.6833, allocations: 288.3 kB / 1.009 GB, free: 3.254 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.001033/0.6844, allocations: 0.4922 MB / 1.009 GB, free: 3.004 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.00164/0.686, allocations: 1.053 MB / 1.01 GB, free: 1.922 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.686, allocations: 3.938 kB / 1.01 GB, free: 1.918 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0009151/0.6869, allocations: 0.6943 MB / 1.011 GB, free: 1.199 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.688, allocations: 275.4 kB / 1.011 GB, free: 0.9492 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004427/0.6924, allocations: 3.983 MB / 1.015 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00101/0.6935, allocations: 1.524 MB / 1.016 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.000306/0.6938, allocations: 152.8 kB / 1.017 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001458/0.6939, allocations: 67.41 kB / 1.017 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.6939, allocations: 0 / 1.017 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of Templates: time 0.02239/0.7163, allocations: 14.39 MB / 1.031 GB, free: 12.96 MB / 0.8262 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1)