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.0011/0.0011, allocations: 116.7 kB / 16.38 MB, free: 5.996 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.001145/0.001145, allocations: 190.5 kB / 17.31 MB, free: 5.605 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.601/1.601, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.873/1.873, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.00143/0.00143, allocations: 72.11 kB / 0.6729 GB, free: 5.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.2557, allocations: 114.6 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.7058/0.9616, allocations: 157.5 MB / 0.9386 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.03068/0.9923, allocations: 21.86 MB / 0.96 GB, free: 6.637 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003062/0.9954, allocations: 59.69 kB / 0.96 GB, free: 6.578 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002817/0.9983, allocations: 2.163 MB / 0.9621 GB, free: 4.41 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.002958/1.001, allocations: 1.46 MB / 0.9635 GB, free: 2.945 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001821/1.003, allocations: 0.5645 MB / 0.9641 GB, free: 2.387 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002836/1.006, allocations: 1.925 MB / 0.966 GB, free: 468 kB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00154/1.008, allocations: 1.113 MB / 0.9671 GB, free: 15.38 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001392/1.009, allocations: 0.9191 MB / 0.968 GB, free: 14.45 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001788/1.011, allocations: 1.585 MB / 0.9695 GB, free: 12.86 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0001545/1.011, allocations: 96 kB / 0.9696 GB, free: 12.77 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003599/1.011, allocations: 143.9 kB / 0.9697 GB, free: 12.63 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0004836/1.012, allocations: 0.552 MB / 0.9703 GB, free: 12.08 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0007603/1.013, allocations: 0.7997 MB / 0.9711 GB, free: 11.27 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.00193/1.014, allocations: 1.93 MB / 0.9729 GB, free: 9.34 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/1.014, allocations: 0 / 0.9729 GB, free: 9.34 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.625e-06/1.014, allocations: 0 / 0.9729 GB, free: 9.34 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.509e-05/1.015, allocations: 0 / 0.9729 GB, free: 9.34 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.00365/1.018, allocations: 2.353 MB / 0.9752 GB, free: 6.922 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/1.018, allocations: 12.03 kB / 0.9753 GB, free: 6.91 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003135/1.019, allocations: 234.2 kB / 0.9755 GB, free: 6.68 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001379/1.02, allocations: 1.034 MB / 0.9765 GB, free: 5.578 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001597/1.02, allocations: 95 kB / 0.9766 GB, free: 5.477 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/1.02, allocations: 64 kB / 0.9766 GB, free: 5.414 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/1.022, allocations: 0.7806 MB / 0.9774 GB, free: 4.617 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.737e-05/1.022, allocations: 4 kB / 0.9774 GB, free: 4.613 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.647e-05/1.022, allocations: 26.94 kB / 0.9774 GB, free: 4.59 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.815e-05/1.022, allocations: 16 kB / 0.9774 GB, free: 4.574 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001217/1.023, allocations: 0.6414 MB / 0.9781 GB, free: 3.93 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005914/1.029, allocations: 3.715 MB / 0.9817 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001602/1.031, allocations: 0.7406 MB / 0.9824 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007704/1.031, allocations: 427.1 kB / 0.9828 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.428e-05/1.031, allocations: 12.56 kB / 0.9828 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008514/1.032, allocations: 447.5 kB / 0.9833 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=73): time 2.685e-06/1.032, allocations: 0.75 kB / 0.9833 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of matching and sorting (n=73): time 0.004409/1.037, allocations: 1.834 MB / 0.9851 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.169e-05/1.037, allocations: 68.05 kB / 0.9851 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003837/1.041, allocations: 3.367 MB / 0.9884 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001061/1.041, allocations: 45.69 kB / 0.9885 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001014/1.042, allocations: 0.9213 MB / 0.9894 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002897/1.042, allocations: 236.7 kB / 0.9896 GB, free: 7.762 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002595/1.042, allocations: 136.1 kB / 0.9897 GB, free: 7.625 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002081/1.043, allocations: 341.9 kB / 0.99 GB, free: 7.285 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007342/1.043, allocations: 325.7 kB / 0.9903 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000859/1.044, allocations: 464.1 kB / 0.9908 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001417/1.046, allocations: 0.7495 MB / 0.9915 GB, free: 5.664 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/1.046, allocations: 0 / 0.9915 GB, free: 5.664 MB / 0.7794 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002688/1.048, allocations: 1.249 MB / 0.9927 GB, free: 4.402 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/1.048, allocations: 4 kB / 0.9927 GB, free: 4.398 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/1.048, allocations: 5.719 kB / 0.9928 GB, free: 4.395 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007526/1.049, allocations: 266.7 kB / 0.993 GB, free: 4.129 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005272/1.05, allocations: 135.8 kB / 0.9931 GB, free: 3.996 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005574/1.055, allocations: 4.751 MB / 0.9978 GB, free: 14.98 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009607/1.056, allocations: 103.3 kB / 0.9979 GB, free: 14.88 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.654e-05/1.056, allocations: 24 kB / 0.9979 GB, free: 14.85 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.001107/1.057, allocations: 0.6107 MB / 0.9985 GB, free: 14.23 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000269/1.058, allocations: 215.5 kB / 0.9987 GB, free: 14.02 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003753/1.058, allocations: 261.1 kB / 0.9989 GB, free: 13.76 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/1.058, allocations: 8 kB / 0.999 GB, free: 13.75 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.141e-05/1.058, allocations: 7.938 kB / 0.999 GB, free: 13.75 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/1.058, allocations: 3.984 kB / 0.999 GB, free: 13.74 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003914/1.062, allocations: 2.401 MB / 1.001 GB, free: 11.27 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/1.062, allocations: 0 / 1.001 GB, free: 11.27 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003336/1.062, allocations: 76.58 kB / 1.001 GB, free: 11.2 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006293/1.063, allocations: 252 kB / 1.002 GB, free: 10.95 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.214e-05/1.063, allocations: 19.98 kB / 1.002 GB, free: 10.93 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00506/1.068, allocations: 4.751 MB / 1.006 GB, free: 5.906 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.068, allocations: 0 / 1.006 GB, free: 5.906 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002912/1.071, allocations: 1.63 MB / 1.008 GB, free: 4.25 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005058/1.072, allocations: 326.3 kB / 1.008 GB, free: 3.91 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000141/1.072, allocations: 16 kB / 1.008 GB, free: 3.895 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004543/1.072, allocations: 47.94 kB / 1.008 GB, free: 3.848 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001953/1.072, allocations: 76.48 kB / 1.008 GB, free: 3.773 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.842e-05/1.073, allocations: 27.98 kB / 1.008 GB, free: 3.746 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002859/1.075, allocations: 2.456 MB / 1.011 GB, free: 1.277 MB / 0.795 GB Notification: Performance of sort global known variables: time 4.21e-07/1.075, allocations: 0 / 1.011 GB, free: 1.277 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001106/1.077, allocations: 295.5 kB / 1.011 GB, free: 0.9883 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.001343/1.078, allocations: 499.3 kB / 1.012 GB, free: 0.7461 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002319/1.08, allocations: 1.102 MB / 1.013 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/1.08, allocations: 3.75 kB / 1.013 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001155/1.081, allocations: 0.7027 MB / 1.013 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001419/1.083, allocations: 298.7 kB / 1.014 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006544/1.089, allocations: 4.143 MB / 1.018 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001356/1.091, allocations: 1.54 MB / 1.019 GB, free: 8.863 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002462/1.091, allocations: 79.36 kB / 1.019 GB, free: 8.785 MB / 0.8106 GB Notification: Performance of SimCode: time 7.41e-07/1.091, allocations: 0 / 1.019 GB, free: 8.785 MB / 0.8106 GB Notification: Performance of Templates: time 0.04837/1.139, allocations: 32.54 MB / 1.051 GB, free: 8.312 MB / 0.8419 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 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1)