Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.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.TestCase10,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001552/0.001553, allocations: 104 kB / 16.36 MB, free: 5.953 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.001744/0.001744, allocations: 193.8 kB / 17.3 MB, free: 5.57 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.265/1.265, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.732/1.732, allocations: 292.3 MB / 0.5496 GB, free: 17.66 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.001396/0.001396, allocations: 63.91 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1784, allocations: 114.6 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.4379/0.6163, allocations: 157.5 MB / 0.9386 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02249/0.6389, allocations: 21.86 MB / 0.96 GB, free: 6.668 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00158/0.6405, allocations: 59.69 kB / 0.96 GB, free: 6.609 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002252/0.6428, allocations: 2.175 MB / 0.9621 GB, free: 4.43 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.001894/0.6447, allocations: 1.441 MB / 0.9635 GB, free: 2.984 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.646, allocations: 0.5706 MB / 0.9641 GB, free: 2.418 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001729/0.6477, allocations: 1.925 MB / 0.966 GB, free: 500 kB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001148/0.6489, allocations: 1.115 MB / 0.9671 GB, free: 15.41 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000958/0.6499, allocations: 0.9153 MB / 0.968 GB, free: 14.49 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001475/0.6513, allocations: 1.588 MB / 0.9695 GB, free: 12.89 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0001691/0.6515, allocations: 96 kB / 0.9696 GB, free: 12.8 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003123/0.6518, allocations: 140 kB / 0.9697 GB, free: 12.66 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0004237/0.6523, allocations: 0.5572 MB / 0.9703 GB, free: 12.11 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0006348/0.6529, allocations: 0.803 MB / 0.9711 GB, free: 11.3 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.00153/0.6545, allocations: 1.926 MB / 0.9729 GB, free: 9.371 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.6545, allocations: 0 / 0.9729 GB, free: 9.371 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6545, allocations: 0 / 0.9729 GB, free: 9.371 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.252e-05/0.6545, allocations: 0 / 0.9729 GB, free: 9.371 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.003175/0.6577, allocations: 2.348 MB / 0.9752 GB, free: 6.957 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.6577, allocations: 16.03 kB / 0.9753 GB, free: 6.941 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002694/0.658, allocations: 230.2 kB / 0.9755 GB, free: 6.715 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/0.6593, allocations: 1.034 MB / 0.9765 GB, free: 5.613 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001346/0.6594, allocations: 91 kB / 0.9766 GB, free: 5.516 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/0.6596, allocations: 67.98 kB / 0.9766 GB, free: 5.449 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/0.6609, allocations: 0.7845 MB / 0.9774 GB, free: 4.648 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.6609, allocations: 0 / 0.9774 GB, free: 4.648 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.709e-05/0.661, allocations: 25.5 kB / 0.9774 GB, free: 4.625 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/0.661, allocations: 19.98 kB / 0.9774 GB, free: 4.605 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001225/0.6622, allocations: 0.6336 MB / 0.9781 GB, free: 3.969 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004696/0.6669, allocations: 3.725 MB / 0.9817 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001516/0.6685, allocations: 0.7328 MB / 0.9824 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007556/0.6692, allocations: 426.3 kB / 0.9828 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.469e-05/0.6693, allocations: 12.55 kB / 0.9828 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007752/0.6701, allocations: 444.1 kB / 0.9833 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=73): time 2.525e-06/0.6701, allocations: 0 / 0.9833 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of matching and sorting (n=73): time 0.00407/0.6742, allocations: 1.842 MB / 0.9851 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.6742, allocations: 64.06 kB / 0.9851 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003141/0.6774, allocations: 3.359 MB / 0.9884 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 7.634e-05/0.6775, allocations: 45.7 kB / 0.9884 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006993/0.6782, allocations: 0.9252 MB / 0.9893 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001765/0.6783, allocations: 236.7 kB / 0.9896 GB, free: 7.801 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000201/0.6786, allocations: 136.6 kB / 0.9897 GB, free: 7.664 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.6787, allocations: 341.9 kB / 0.99 GB, free: 7.324 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006483/0.6793, allocations: 317.8 kB / 0.9903 GB, free: 7.012 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007358/0.6801, allocations: 468.1 kB / 0.9908 GB, free: 6.5 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001247/0.6813, allocations: 0.7525 MB / 0.9915 GB, free: 5.707 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.6813, allocations: 0 / 0.9915 GB, free: 5.707 MB / 0.7794 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00223/0.6836, allocations: 1.253 MB / 0.9927 GB, free: 4.441 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.6836, allocations: 4 kB / 0.9927 GB, free: 4.438 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.6836, allocations: 4 kB / 0.9927 GB, free: 4.434 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006779/0.6843, allocations: 262.7 kB / 0.993 GB, free: 4.172 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005288/0.6848, allocations: 143.7 kB / 0.9931 GB, free: 4.031 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004636/0.6895, allocations: 4.741 MB / 0.9978 GB, free: 15.02 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006905/0.6902, allocations: 103.3 kB / 0.9979 GB, free: 14.92 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.035e-05/0.6903, allocations: 24 kB / 0.9979 GB, free: 14.89 MB / 0.795 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.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.outdoorTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y,$PRE.mean.y,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.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 (77): * Single equations (assignments): 75 * 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.0007464/0.691, allocations: 0.618 MB / 0.9985 GB, free: 14.27 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002098/0.6912, allocations: 209.3 kB / 0.9987 GB, free: 14.07 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003194/0.6916, allocations: 253.1 kB / 0.9989 GB, free: 13.81 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.6916, allocations: 8 kB / 0.9989 GB, free: 13.8 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.41e-05/0.6916, allocations: 15.88 kB / 0.9989 GB, free: 13.79 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/0.6916, allocations: 3.984 kB / 0.999 GB, free: 13.79 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003641/0.6953, allocations: 2.401 MB / 1.001 GB, free: 11.32 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.6953, allocations: 0.8438 kB / 1.001 GB, free: 11.32 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003376/0.6956, allocations: 75.89 kB / 1.001 GB, free: 11.24 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006069/0.6962, allocations: 252.3 kB / 1.002 GB, free: 10.99 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.319e-05/0.6963, allocations: 23.98 kB / 1.002 GB, free: 10.97 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004531/0.7008, allocations: 4.745 MB / 1.006 GB, free: 5.949 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.7009, allocations: 4.625 kB / 1.006 GB, free: 5.945 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002766/0.7036, allocations: 1.638 MB / 1.008 GB, free: 4.281 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004664/0.7041, allocations: 318.2 kB / 1.008 GB, free: 3.949 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001468/0.7043, allocations: 26.23 kB / 1.008 GB, free: 3.926 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004694/0.7047, allocations: 31.97 kB / 1.008 GB, free: 3.895 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001673/0.7049, allocations: 80.55 kB / 1.008 GB, free: 3.816 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.705e-05/0.705, allocations: 27.98 kB / 1.008 GB, free: 3.789 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002489/0.7075, allocations: 2.46 MB / 1.011 GB, free: 1.316 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7075, allocations: 0 / 1.011 GB, free: 1.316 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0009384/0.7084, allocations: 295.5 kB / 1.011 GB, free: 1.027 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,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 39 * 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.001157/0.7096, allocations: 0.492 MB / 1.011 GB, free: 0.7852 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001957/0.7116, allocations: 1.098 MB / 1.013 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.7116, allocations: 128 / 1.013 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001036/0.7126, allocations: 0.706 MB / 1.013 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001299/0.714, allocations: 297.1 kB / 1.014 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00518/0.7191, allocations: 4.062 MB / 1.018 GB, free: 10.56 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001094/0.7203, allocations: 1.552 MB / 1.019 GB, free: 8.973 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0004489/0.7207, allocations: 161.3 kB / 1.019 GB, free: 8.82 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001616/0.7209, allocations: 67.42 kB / 1.019 GB, free: 8.754 MB / 0.8106 GB Notification: Performance of SimCode: time 6.12e-07/0.7209, allocations: 0 / 1.019 GB, free: 8.754 MB / 0.8106 GB Notification: Performance of Templates: time 0.02564/0.7465, allocations: 15.09 MB / 1.034 GB, free: 9.883 MB / 0.8262 GB make -j1 -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.makefile (rm -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & ./Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1)