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.001149/0.001149, allocations: 104.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.001126/0.001126, allocations: 185.1 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.15/1.15, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.59/1.59, allocations: 292.3 MB / 0.5495 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.001314/0.001314, allocations: 67.91 kB / 0.6722 GB, free: 6.469 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1792, allocations: 114.6 MB / 0.7841 GB, free: 3.797 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.4295/0.6088, allocations: 157.5 MB / 0.9379 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02232/0.6311, allocations: 21.86 MB / 0.9592 GB, free: 7.137 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001576/0.6327, allocations: 55.69 kB / 0.9593 GB, free: 7.082 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002238/0.635, allocations: 2.168 MB / 0.9614 GB, free: 4.91 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.001966/0.637, allocations: 1.452 MB / 0.9628 GB, free: 3.453 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001283/0.6383, allocations: 0.5675 MB / 0.9634 GB, free: 2.891 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001824/0.6401, allocations: 1.918 MB / 0.9653 GB, free: 0.9688 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00106/0.6412, allocations: 1.123 MB / 0.9664 GB, free: 15.88 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008099/0.642, allocations: 0.9114 MB / 0.9672 GB, free: 14.96 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001378/0.6434, allocations: 1.588 MB / 0.9688 GB, free: 13.37 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.000151/0.6436, allocations: 96 kB / 0.9689 GB, free: 13.28 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002728/0.6439, allocations: 135.9 kB / 0.969 GB, free: 13.14 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0003891/0.6443, allocations: 0.5559 MB / 0.9696 GB, free: 12.59 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0005639/0.6448, allocations: 0.7952 MB / 0.9703 GB, free: 11.79 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.001417/0.6462, allocations: 1.934 MB / 0.9722 GB, free: 9.844 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.6463, allocations: 4 kB / 0.9722 GB, free: 9.84 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.112e-06/0.6463, allocations: 0 / 0.9722 GB, free: 9.84 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.418e-05/0.6463, allocations: 0.75 kB / 0.9722 GB, free: 9.84 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.002826/0.6491, allocations: 2.351 MB / 0.9745 GB, free: 7.426 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 2.916e-05/0.6492, allocations: 8.031 kB / 0.9745 GB, free: 7.418 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002385/0.6494, allocations: 234.2 kB / 0.9748 GB, free: 7.188 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.6505, allocations: 1.027 MB / 0.9758 GB, free: 6.094 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001181/0.6506, allocations: 91 kB / 0.9758 GB, free: 5.996 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.652e-05/0.6507, allocations: 71.98 kB / 0.9759 GB, free: 5.926 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/0.6519, allocations: 0.7767 MB / 0.9767 GB, free: 5.133 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.652, allocations: 1.219 kB / 0.9767 GB, free: 5.133 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.805e-05/0.652, allocations: 28 kB / 0.9767 GB, free: 5.105 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.652, allocations: 16.69 kB / 0.9767 GB, free: 5.09 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.6532, allocations: 0.6414 MB / 0.9773 GB, free: 4.445 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004201/0.6574, allocations: 3.723 MB / 0.981 GB, free: 476 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001371/0.6588, allocations: 0.7445 MB / 0.9817 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006769/0.6595, allocations: 418.3 kB / 0.9821 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.69e-05/0.6595, allocations: 16.55 kB / 0.9821 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007122/0.6602, allocations: 448 kB / 0.9825 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=73): time 2.134e-06/0.6602, allocations: 0 / 0.9825 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=73): time 0.003657/0.6639, allocations: 1.83 MB / 0.9843 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.664, allocations: 68.06 kB / 0.9844 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002958/0.6669, allocations: 3.361 MB / 0.9877 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.285e-05/0.667, allocations: 49.7 kB / 0.9877 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006681/0.6677, allocations: 0.9213 MB / 0.9886 GB, free: 8.512 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001647/0.6678, allocations: 236.7 kB / 0.9889 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001919/0.668, allocations: 130.7 kB / 0.989 GB, free: 8.141 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.6681, allocations: 341.9 kB / 0.9893 GB, free: 7.801 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005911/0.6687, allocations: 329.7 kB / 0.9896 GB, free: 7.48 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006887/0.6694, allocations: 468.1 kB / 0.9901 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/0.6706, allocations: 0.7484 MB / 0.9908 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.6706, allocations: 4 kB / 0.9908 GB, free: 6.176 MB / 0.7794 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001973/0.6726, allocations: 1.248 MB / 0.992 GB, free: 4.914 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.6726, allocations: 8 kB / 0.992 GB, free: 4.906 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.6726, allocations: 0 / 0.992 GB, free: 4.906 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000623/0.6733, allocations: 259.1 kB / 0.9923 GB, free: 4.648 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004536/0.6737, allocations: 139.8 kB / 0.9924 GB, free: 4.512 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004389/0.6781, allocations: 4.758 MB / 0.9971 GB, free: 15.48 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005895/0.6787, allocations: 99.3 kB / 0.9971 GB, free: 15.38 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-05/0.6788, allocations: 28 kB / 0.9972 GB, free: 15.36 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.0007121/0.6795, allocations: 0.6124 MB / 0.9978 GB, free: 14.74 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002001/0.6797, allocations: 213.3 kB / 0.998 GB, free: 14.53 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003315/0.6801, allocations: 261.1 kB / 0.9982 GB, free: 14.27 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.6801, allocations: 4 kB / 0.9982 GB, free: 14.27 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-05/0.6801, allocations: 7.938 kB / 0.9982 GB, free: 14.26 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/0.6801, allocations: 9.656 kB / 0.9982 GB, free: 14.25 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003299/0.6834, allocations: 2.4 MB / 1.001 GB, free: 11.78 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.6834, allocations: 3.938 kB / 1.001 GB, free: 11.78 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002949/0.6837, allocations: 67.95 kB / 1.001 GB, free: 11.71 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005591/0.6843, allocations: 245.5 kB / 1.001 GB, free: 11.46 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.082e-05/0.6844, allocations: 23.98 kB / 1.001 GB, free: 11.44 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004296/0.6887, allocations: 4.744 MB / 1.006 GB, free: 6.422 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.6887, allocations: 8.047 kB / 1.006 GB, free: 6.414 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002478/0.6912, allocations: 1.636 MB / 1.007 GB, free: 4.754 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003647/0.6915, allocations: 322.2 kB / 1.007 GB, free: 4.418 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001315/0.6917, allocations: 22.48 kB / 1.007 GB, free: 4.398 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004016/0.6921, allocations: 39.97 kB / 1.008 GB, free: 4.359 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/0.6922, allocations: 80.48 kB / 1.008 GB, free: 4.281 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.879e-05/0.6923, allocations: 23.98 kB / 1.008 GB, free: 4.258 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002284/0.6946, allocations: 2.46 MB / 1.01 GB, free: 1.785 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.6e-07/0.6946, allocations: 0 / 1.01 GB, free: 1.785 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0008104/0.6954, allocations: 299.5 kB / 1.01 GB, free: 1.492 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.001038/0.6965, allocations: 494.8 kB / 1.011 GB, free: 1.25 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001775/0.6982, allocations: 1.098 MB / 1.012 GB, free: 124 kB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.6983, allocations: 0 / 1.012 GB, free: 124 kB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0009638/0.6992, allocations: 0.7105 MB / 1.013 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.7003, allocations: 301.1 kB / 1.013 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004744/0.7051, allocations: 4.059 MB / 1.017 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001085/0.7062, allocations: 1.552 MB / 1.018 GB, free: 9.438 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003952/0.7066, allocations: 166 kB / 1.018 GB, free: 9.281 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001546/0.7068, allocations: 63.42 kB / 1.019 GB, free: 9.219 MB / 0.8106 GB Notification: Performance of SimCode: time 4.2e-07/0.7068, allocations: 4 kB / 1.019 GB, free: 9.215 MB / 0.8106 GB Notification: Performance of Templates: time 0.02539/0.7321, allocations: 15.08 MB / 1.033 GB, free: 10.35 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 cvode -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1)