Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.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.TestCase11,tolerance=1e-07,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11,tolerance=1e-07,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 187.7 kB / 16.62 MB, free: 6.613 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.115/1.115, allocations: 205.1 MB / 222.5 MB, free: 4.539 MB / 174.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.45/1.45, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001244/0.001244, allocations: 67.92 kB / 0.6722 GB, free: 25.85 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1583, allocations: 114.6 MB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11): time 0.435/0.5933, allocations: 158.3 MB / 0.9387 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01798/0.6113, allocations: 22.04 MB / 0.9602 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001545/0.613, allocations: 64.34 kB / 0.9603 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001834/0.6148, allocations: 1.979 MB / 0.9622 GB, free: 4.473 MB / 0.7169 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.0014/0.6162, allocations: 1.33 MB / 0.9635 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.6173, allocations: 0.6395 MB / 0.9641 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001379/0.6187, allocations: 1.944 MB / 0.966 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001011/0.6197, allocations: 1.151 MB / 0.9671 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007692/0.6205, allocations: 0.8968 MB / 0.968 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001117/0.6216, allocations: 1.444 MB / 0.9694 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001385/0.6218, allocations: 109.9 kB / 0.9695 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002806/0.6221, allocations: 152.3 kB / 0.9697 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002916/0.6224, allocations: 0.5221 MB / 0.9702 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004287/0.6228, allocations: 0.8138 MB / 0.971 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001176/0.624, allocations: 1.968 MB / 0.9729 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.624, allocations: 1.5 kB / 0.9729 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.083e-06/0.624, allocations: 0 / 0.9729 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.317e-05/0.624, allocations: 2.531 kB / 0.9729 GB, free: 2.121 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.002591/0.6266, allocations: 2.376 MB / 0.9752 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.787e-05/0.6267, allocations: 10.88 kB / 0.9752 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002415/0.6269, allocations: 240.6 kB / 0.9755 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009995/0.6279, allocations: 1.061 MB / 0.9765 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/0.628, allocations: 101.7 kB / 0.9766 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.034e-05/0.6281, allocations: 81.94 kB / 0.9767 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/0.6293, allocations: 0.8602 MB / 0.9775 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/0.6294, allocations: 6.062 kB / 0.9775 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.359e-05/0.6294, allocations: 30.19 kB / 0.9776 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/0.6294, allocations: 19.34 kB / 0.9776 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/0.6306, allocations: 0.6494 MB / 0.9782 GB, free: 15.05 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004148/0.6347, allocations: 4.16 MB / 0.9823 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001199/0.636, allocations: 0.7134 MB / 0.983 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006514/0.6366, allocations: 412.3 kB / 0.9834 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.842e-05/0.6367, allocations: 13.14 kB / 0.9834 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006729/0.6374, allocations: 435.4 kB / 0.9838 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=79): time 2.043e-06/0.6374, allocations: 0 / 0.9838 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=79): time 0.005081/0.6424, allocations: 2.107 MB / 0.9859 GB, free: 9.66 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/0.6425, allocations: 86.08 kB / 0.9859 GB, free: 9.566 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002524/0.645, allocations: 3.201 MB / 0.9891 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.345e-05/0.6451, allocations: 49.02 kB / 0.9891 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006322/0.6457, allocations: 0.9634 MB / 0.99 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001596/0.6459, allocations: 257 kB / 0.9903 GB, free: 7.039 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001834/0.6461, allocations: 152.1 kB / 0.9904 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.7e-05/0.6462, allocations: 336.8 kB / 0.9908 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005871/0.6468, allocations: 313.3 kB / 0.9911 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006559/0.6475, allocations: 473.1 kB / 0.9915 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.6486, allocations: 0.7328 MB / 0.9922 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.6486, allocations: 0 / 0.9922 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001953/0.6506, allocations: 1.24 MB / 0.9934 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.6506, allocations: 12.53 kB / 0.9934 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.6506, allocations: 3.406 kB / 0.9934 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008008/0.6514, allocations: 324.3 kB / 0.9938 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004017/0.6518, allocations: 125.5 kB / 0.9939 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004977/0.6568, allocations: 4.069 MB / 0.9979 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005156/0.6573, allocations: 97.3 kB / 0.9979 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.925e-05/0.6574, allocations: 36.95 kB / 0.998 GB, free: 1.758 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 34 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.setTemp.nextTimeEvent,$whenCondition4,$whenCondition2,cha.u,$PRE.cha.u,thr.y,timer.entryTime,$PRE.timer.entryTime,not1.y,mean.y,$PRE.mean.y,assEqu.satisfied,$PRE.assEqu.satisfied,hysteresis.y,$PRE.hysteresis.y,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,$whenCondition1,$whenCondition3,conHeaCoo.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,31)} Notification: Performance of prepare postOptimizeDAE: time 0.0005603/0.658, allocations: 0.5902 MB / 0.9986 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001765/0.6581, allocations: 206.4 kB / 0.9988 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002861/0.6584, allocations: 250.5 kB / 0.999 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.6584, allocations: 7.5 kB / 0.999 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.6585, allocations: 5.906 kB / 0.999 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.6585, allocations: 7.922 kB / 0.999 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003201/0.6617, allocations: 2.403 MB / 1.001 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.6617, allocations: 0 / 1.001 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002694/0.662, allocations: 68.11 kB / 1.001 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007635/0.6627, allocations: 338.2 kB / 1.002 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.167e-05/0.6628, allocations: 24.67 kB / 1.002 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005685/0.6685, allocations: 5.537 MB / 1.007 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.6685, allocations: 2.75 kB / 1.007 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002356/0.6709, allocations: 1.571 MB / 1.009 GB, free: 9.969 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003116/0.6712, allocations: 311.6 kB / 1.009 GB, free: 9.707 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/0.6713, allocations: 25.02 kB / 1.009 GB, free: 9.688 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004318/0.6718, allocations: 46.7 kB / 1.009 GB, free: 9.664 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001759/0.672, allocations: 103.1 kB / 1.009 GB, free: 9.605 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.936e-05/0.672, allocations: 27.11 kB / 1.009 GB, free: 9.594 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001935/0.6739, allocations: 2.333 MB / 1.011 GB, free: 8.531 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.674, allocations: 0 / 1.011 GB, free: 8.531 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007678/0.6747, allocations: 316.6 kB / 1.012 GB, free: 8.469 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,conHeaCoo.I.y,assEqu.diff,mean.x) * Number of discrete variables: 21 (not1.y,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,hysteresis.y,assEqu.satisfied,assEqu.nFai,mean.y,timer.entryTime,thr.y,cha.u) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled,hysteresis.y,cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,27)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009564/0.6757, allocations: 496.6 kB / 1.012 GB, free: 8.238 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001683/0.6774, allocations: 1.038 MB / 1.013 GB, free: 7.664 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.6774, allocations: 2.438 kB / 1.013 GB, free: 7.664 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001175/0.6786, allocations: 0.7709 MB / 1.014 GB, free: 7.148 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.6797, allocations: 299.3 kB / 1.014 GB, free: 6.977 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004619/0.6844, allocations: 4.046 MB / 1.018 GB, free: 2.961 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009397/0.6853, allocations: 1.532 MB / 1.02 GB, free: 1.398 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003005/0.6856, allocations: 139 kB / 1.02 GB, free: 1.258 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/0.6858, allocations: 67.42 kB / 1.02 GB, free: 1.195 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.6858, allocations: 0 / 1.02 GB, free: 1.195 MB / 0.7481 GB Notification: Performance of Templates: time 0.02485/0.7106, allocations: 17.15 MB / 1.037 GB, free: 260 kB / 0.7637 GB make -j1 -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.makefile (rm -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe >> ../files/Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.sim & ./Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe 2>&1)