Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.TestCase2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009279/0.000928, 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.000866/0.000866, allocations: 187.1 kB / 16.62 MB, free: 6.582 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.104/1.104, 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.47/1.47, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001287/0.001287, allocations: 67.34 kB / 0.6722 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1608, allocations: 114.6 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.4348/0.5957, allocations: 156.7 MB / 0.9372 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01863/0.6143, allocations: 21.55 MB / 0.9582 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001415/0.6158, allocations: 50.94 kB / 0.9583 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001288/0.6171, allocations: 1.157 MB / 0.9594 GB, free: 4.703 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.0009907/0.6181, allocations: 0.8618 MB / 0.9602 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007032/0.6188, allocations: 405.9 kB / 0.9606 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008609/0.6197, allocations: 1.251 MB / 0.9618 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000593/0.6203, allocations: 0.6846 MB / 0.9625 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004797/0.6208, allocations: 0.5506 MB / 0.963 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007759/0.6215, allocations: 0.9097 MB / 0.9639 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.985e-05/0.6216, allocations: 65.67 kB / 0.964 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001985/0.6218, allocations: 107.5 kB / 0.9641 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001975/0.6221, allocations: 322.5 kB / 0.9644 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000282/0.6223, allocations: 492.2 kB / 0.9649 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0008282/0.6232, allocations: 1.199 MB / 0.9661 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.6232, allocations: 1.375 kB / 0.9661 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.083e-06/0.6232, allocations: 0 / 0.9661 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.177e-05/0.6232, allocations: 0 / 0.9661 GB, free: 3.77 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001881/0.6251, allocations: 1.47 MB / 0.9675 GB, free: 18.89 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.938e-05/0.6251, allocations: 9.094 kB / 0.9675 GB, free: 18.89 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001443/0.6253, allocations: 133.5 kB / 0.9676 GB, free: 18.83 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006419/0.6259, allocations: 0.6622 MB / 0.9683 GB, free: 18.42 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/0.626, allocations: 75.89 kB / 0.9683 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.833e-05/0.6261, allocations: 50.41 kB / 0.9684 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007531/0.6269, allocations: 0.5136 MB / 0.9689 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.6269, allocations: 1.375 kB / 0.9689 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.9e-05/0.6269, allocations: 21.75 kB / 0.9689 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.976e-06/0.627, allocations: 15 kB / 0.9689 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006879/0.6277, allocations: 405 kB / 0.9693 GB, free: 18.3 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.00274/0.6304, allocations: 2.787 MB / 0.972 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008272/0.6312, allocations: 460.3 kB / 0.9725 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004518/0.6317, allocations: 285.8 kB / 0.9727 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.919e-05/0.6317, allocations: 4.656 kB / 0.9728 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004549/0.6322, allocations: 301.1 kB / 0.973 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=45): time 2.164e-06/0.6322, allocations: 5.156 kB / 0.973 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.0024/0.6346, allocations: 1.243 MB / 0.9743 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.6347, allocations: 59.33 kB / 0.9743 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001288/0.636, allocations: 1.743 MB / 0.976 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.786e-05/0.636, allocations: 37.58 kB / 0.9761 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002917/0.6363, allocations: 0.5156 MB / 0.9766 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.539e-05/0.6364, allocations: 149 kB / 0.9767 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.6365, allocations: 99.3 kB / 0.9768 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.903e-05/0.6366, allocations: 331.2 kB / 0.9771 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000404/0.637, allocations: 220.5 kB / 0.9773 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004449/0.6375, allocations: 323.9 kB / 0.9776 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007345/0.6382, allocations: 0.5093 MB / 0.9781 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.6382, allocations: 1.25 kB / 0.9781 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001375/0.6396, allocations: 0.8575 MB / 0.979 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.6396, allocations: 6.812 kB / 0.979 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.6396, allocations: 3.219 kB / 0.979 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004274/0.6401, allocations: 188.1 kB / 0.9792 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002961/0.6404, allocations: 92.94 kB / 0.9792 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002885/0.6433, allocations: 2.996 MB / 0.9822 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003474/0.6436, allocations: 73.39 kB / 0.9822 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.415e-05/0.6437, allocations: 22.92 kB / 0.9823 GB, free: 10.62 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y,$PRE.mean.y,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,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 (50): * Single equations (assignments): 49 * 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): 1 system {(2,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003509/0.644, allocations: 385.4 kB / 0.9826 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.6441, allocations: 114.9 kB / 0.9827 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001809/0.6443, allocations: 143.3 kB / 0.9829 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.6443, allocations: 2.75 kB / 0.9829 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.6443, allocations: 3.438 kB / 0.9829 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.6444, allocations: 1.969 kB / 0.9829 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002033/0.6464, allocations: 1.57 MB / 0.9844 GB, free: 9.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.6464, allocations: 0 / 0.9844 GB, free: 9.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001957/0.6466, allocations: 47.88 kB / 0.9845 GB, free: 9.414 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004124/0.647, allocations: 192.1 kB / 0.9846 GB, free: 9.32 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.415e-05/0.6471, allocations: 10.41 kB / 0.9847 GB, free: 9.312 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003576/0.6507, allocations: 4.553 MB / 0.9891 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.6507, allocations: 3.594 kB / 0.9891 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001522/0.6522, allocations: 1.063 MB / 0.9901 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002026/0.6524, allocations: 215.9 kB / 0.9903 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.368e-05/0.6525, allocations: 15.36 kB / 0.9904 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00028/0.6528, allocations: 27.38 kB / 0.9904 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.6529, allocations: 53.86 kB / 0.9904 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.193e-05/0.6529, allocations: 10.06 kB / 0.9904 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001031/0.654, allocations: 1.289 MB / 0.9917 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.3e-07/0.654, allocations: 2.344 kB / 0.9917 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005839/0.6546, allocations: 201.5 kB / 0.9919 GB, free: 3.73 MB / 0.7325 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: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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,13,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.0009419/0.6555, allocations: 481.3 kB / 0.9924 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001216/0.6567, allocations: 0.7099 MB / 0.9931 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6568, allocations: 0 / 0.9931 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000743/0.6575, allocations: 0.5482 MB / 0.9936 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008359/0.6583, allocations: 203.3 kB / 0.9938 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002718/0.6611, allocations: 2.376 MB / 0.9961 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005905/0.6617, allocations: 1.156 MB / 0.9972 GB, free: 444 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002013/0.6619, allocations: 84 kB / 0.9973 GB, free: 404 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.203e-05/0.662, allocations: 48.89 kB / 0.9974 GB, free: 392 kB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.662, allocations: 0 / 0.9974 GB, free: 392 kB / 0.7325 GB Notification: Performance of Templates: time 0.01522/0.6772, allocations: 10.45 MB / 1.008 GB, free: 11.34 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.makefile (rm -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & ./Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)