Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.TestCase5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.001535/0.001535, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.862/1.862, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.499/1.499, allocations: 251.9 MB / 0.51 GB, free: 4.801 MB / 414.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.0005419/0.0005419, allocations: 12 kB / 0.6241 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.594/0.5945, allocations: 106.3 MB / 0.728 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.1637/0.7583, allocations: 132.9 MB / 0.8578 GB, free: 6.125 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02612/0.7845, allocations: 18.42 MB / 0.8758 GB, free: 3.676 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001986/0.7865, allocations: 39.75 kB / 0.8758 GB, free: 3.637 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003593/0.7901, allocations: 2.291 MB / 0.878 GB, free: 1.34 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.00611/0.7963, allocations: 2.344 MB / 0.8803 GB, free: 14.99 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.003643/0.7999, allocations: 1.137 MB / 0.8814 GB, free: 13.88 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002705/0.8027, allocations: 1.265 MB / 0.8827 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001343/0.804, allocations: 0.8115 MB / 0.8835 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001118/0.8051, allocations: 0.7244 MB / 0.8842 GB, free: 11.07 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001407/0.8066, allocations: 1.161 MB / 0.8853 GB, free: 9.902 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001077/0.8067, allocations: 36 kB / 0.8854 GB, free: 9.867 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002811/0.807, allocations: 63.94 kB / 0.8854 GB, free: 9.805 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0004186/0.8074, allocations: 494.4 kB / 0.8859 GB, free: 9.32 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0002745/0.8077, allocations: 316.5 kB / 0.8862 GB, free: 9.004 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001242/0.8089, allocations: 1.368 MB / 0.8875 GB, free: 7.633 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.8089, allocations: 0 / 0.8875 GB, free: 7.633 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.914e-06/0.809, allocations: 0 / 0.8875 GB, free: 7.633 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.684e-05/0.809, allocations: 0 / 0.8875 GB, free: 7.633 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.003025/0.812, allocations: 2.017 MB / 0.8895 GB, free: 5.551 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.8121, allocations: 8.031 kB / 0.8895 GB, free: 5.543 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000251/0.8123, allocations: 233 kB / 0.8897 GB, free: 5.312 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001331/0.8136, allocations: 0.9034 MB / 0.8906 GB, free: 4.344 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001448/0.8138, allocations: 103 kB / 0.8907 GB, free: 4.238 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.537e-05/0.8139, allocations: 60 kB / 0.8908 GB, free: 4.18 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.8151, allocations: 0.729 MB / 0.8915 GB, free: 3.438 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.8152, allocations: 3.938 kB / 0.8915 GB, free: 3.434 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.778e-05/0.8152, allocations: 23.98 kB / 0.8915 GB, free: 3.41 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/0.8152, allocations: 16 kB / 0.8915 GB, free: 3.395 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/0.8164, allocations: 0.6102 MB / 0.8921 GB, free: 2.785 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004994/0.8214, allocations: 3.56 MB / 0.8956 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001504/0.8229, allocations: 0.7269 MB / 0.8963 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.897e-05/0.823, allocations: 8.562 kB / 0.8963 GB, free: 14.22 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007597/0.8238, allocations: 442.8 kB / 0.8967 GB, free: 13.78 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=70): time 3.397e-06/0.8238, allocations: 7.938 kB / 0.8967 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=70): time 0.00423/0.828, allocations: 1.809 MB / 0.8985 GB, free: 11.91 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.344e-05/0.8281, allocations: 67.89 kB / 0.8986 GB, free: 11.83 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003761/0.8319, allocations: 3.3 MB / 0.9018 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001165/0.832, allocations: 41.7 kB / 0.9018 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007924/0.8328, allocations: 0.8859 MB / 0.9027 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002286/0.833, allocations: 224.9 kB / 0.9029 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.37e-05/0.8331, allocations: 16 kB / 0.9029 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.8332, allocations: 341.9 kB / 0.9032 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006494/0.8339, allocations: 325.8 kB / 0.9036 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007058/0.8346, allocations: 442.4 kB / 0.904 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000709/0.8353, allocations: 366 kB / 0.9043 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.8353, allocations: 4 kB / 0.9043 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002274/0.8376, allocations: 1.234 MB / 0.9055 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/0.8376, allocations: 11.95 kB / 0.9056 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.8377, allocations: 11.92 kB / 0.9056 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006916/0.8384, allocations: 257.6 kB / 0.9058 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004853/0.8389, allocations: 147.8 kB / 0.9059 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4232/1.262, allocations: 4.438 MB / 0.9103 GB, free: 27.14 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008264/1.263, allocations: 115 kB / 0.9104 GB, free: 27.14 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-05/1.263, allocations: 28.62 kB / 0.9104 GB, free: 27.14 MB / 0.7169 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 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition7,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.outdoorTemp.nextTimeEvent,$whenCondition3,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition1,$whenCondition2,reference.nextTimeEvent,$PRE.reference.nextTimeEventScaled,reference.nextTimeEventScaled,$PRE.assEqu.satisfied,assEqu.satisfied,$PRE.mean.y,mean.y,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled,outdoorTemp.nextTimeEvent,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 18,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009047/1.264, allocations: 0.6118 MB / 0.911 GB, free: 27.02 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002052/1.264, allocations: 206.5 kB / 0.9112 GB, free: 27.01 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000364/1.265, allocations: 253.1 kB / 0.9115 GB, free: 26.98 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/1.265, allocations: 7.094 kB / 0.9115 GB, free: 26.98 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.109e-05/1.265, allocations: 4.562 kB / 0.9115 GB, free: 26.98 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/1.265, allocations: 3.188 kB / 0.9115 GB, free: 26.98 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004209/1.269, allocations: 2.356 MB / 0.9138 GB, free: 26.64 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/1.269, allocations: 0 / 0.9138 GB, free: 26.64 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003499/1.269, allocations: 68.66 kB / 0.9138 GB, free: 26.64 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006567/1.27, allocations: 260.2 kB / 0.9141 GB, free: 26.62 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-05/1.27, allocations: 17.77 kB / 0.9141 GB, free: 26.62 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004149/1.274, allocations: 4.446 MB / 0.9184 GB, free: 24 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/1.274, allocations: 2.719 kB / 0.9184 GB, free: 24 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002843/1.277, allocations: 1.599 MB / 0.92 GB, free: 23.71 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005001/1.277, allocations: 323.5 kB / 0.9203 GB, free: 23.51 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000138/1.278, allocations: 20.02 kB / 0.9203 GB, free: 23.51 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004665/1.278, allocations: 55.75 kB / 0.9204 GB, free: 23.51 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001911/1.278, allocations: 72.33 kB / 0.9205 GB, free: 23.51 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.568e-05/1.278, allocations: 34.25 kB / 0.9205 GB, free: 23.5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.003274/1.282, allocations: 2.419 MB / 0.9228 GB, free: 23.36 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.2e-07/1.282, allocations: 2.469 kB / 0.9229 GB, free: 23.36 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0009441/1.283, allocations: 296.5 kB / 0.9231 GB, free: 23.34 MB / 0.7169 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,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 18,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009357/1.284, allocations: 498.5 kB / 0.9236 GB, free: 23.18 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001843/1.285, allocations: 1.087 MB / 0.9247 GB, free: 22.92 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/1.285, allocations: 2.969 kB / 0.9247 GB, free: 22.92 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009013/1.286, allocations: 0.6965 MB / 0.9254 GB, free: 22.66 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/1.287, allocations: 253.2 kB / 0.9256 GB, free: 22.63 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004851/1.292, allocations: 4.414 MB / 0.9299 GB, free: 21 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008822/1.293, allocations: 1.571 MB / 0.9314 GB, free: 20.26 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0003972/1.294, allocations: 148.9 kB / 0.9316 GB, free: 20.23 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/1.294, allocations: 64.11 kB / 0.9316 GB, free: 20.22 MB / 0.7169 GB Notification: Performance of SimCode: time 7.41e-07/1.294, allocations: 0 / 0.9316 GB, free: 20.22 MB / 0.7169 GB Notification: Performance of Templates: time 0.01934/1.313, allocations: 12.9 MB / 0.9442 GB, free: 19.24 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1) Environment - environmentSimulation: