Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8483/0.8483, allocations: 143.4 MB / 158.3 MB, free: 5.754 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 177.1 kB / 191.5 MB, free: 5.762 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.627/1.627, allocations: 223.2 MB / 447.7 MB, free: 4.82 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 92.31 kB / 0.5188 GB, free: 1.184 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001876/0.001876, allocations: 273.3 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005/0.0004999, allocations: 18.67 kB / 0.6929 GB, free: 59.62 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2438, allocations: 82.8 MB / 0.7737 GB, free: 13.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.859/6.103, allocations: 2.148 GB / 2.922 GB, free: 151.3 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002564/6.103, allocations: 99.3 kB / 2.922 GB, free: 151.3 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.1224/6.225, allocations: 65.06 MB / 2.986 GB, free: 97.5 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.423e-06/6.226, allocations: 0 / 2.986 GB, free: 97.5 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.726e-05/6.226, allocations: 27.94 kB / 2.986 GB, free: 97.47 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001949/6.228, allocations: 1.437 MB / 2.987 GB, free: 96.05 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/6.228, allocations: 20.77 kB / 2.987 GB, free: 96.03 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001717/6.228, allocations: 134.3 kB / 2.987 GB, free: 95.9 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002826/6.231, allocations: 1.465 MB / 2.989 GB, free: 94.62 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00012/6.231, allocations: 87.39 kB / 2.989 GB, free: 94.55 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.119e-05/6.231, allocations: 54.42 kB / 2.989 GB, free: 94.51 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007924/6.232, allocations: 0.5058 MB / 2.989 GB, free: 94.14 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/6.232, allocations: 0 / 2.989 GB, free: 94.14 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.241e-05/6.232, allocations: 19.05 kB / 2.989 GB, free: 94.13 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/6.232, allocations: 12 kB / 2.989 GB, free: 94.12 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006905/6.232, allocations: 408.1 kB / 2.99 GB, free: 93.84 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00319/6.236, allocations: 2.729 MB / 2.992 GB, free: 91.39 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008459/6.237, allocations: 448 kB / 2.993 GB, free: 91.07 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/6.237, allocations: 4.328 kB / 2.993 GB, free: 91.07 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004579/6.237, allocations: 296.1 kB / 2.993 GB, free: 90.83 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=45): time 2.905e-06/6.237, allocations: 0 / 2.993 GB, free: 90.83 MB / 0.7136 GB Notification: Performance of matching and sorting (n=45): time 0.002629/6.24, allocations: 1.242 MB / 2.994 GB, free: 89.74 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/6.24, allocations: 63.16 kB / 2.994 GB, free: 89.67 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002057/6.242, allocations: 1.555 MB / 2.996 GB, free: 88.48 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.653e-05/6.242, allocations: 36.7 kB / 2.996 GB, free: 88.45 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003524/6.242, allocations: 0.517 MB / 2.997 GB, free: 88.2 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000108/6.242, allocations: 149.2 kB / 2.997 GB, free: 88.07 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.435e-05/6.242, allocations: 9.75 kB / 2.997 GB, free: 88.07 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.442e-05/6.242, allocations: 329.5 kB / 2.997 GB, free: 87.75 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004347/6.243, allocations: 224.2 kB / 2.997 GB, free: 87.59 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004636/6.243, allocations: 337.1 kB / 2.998 GB, free: 87.3 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004515/6.244, allocations: 265.4 kB / 2.998 GB, free: 87.12 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/6.244, allocations: 4 kB / 2.998 GB, free: 87.12 MB / 0.7136 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001435/6.245, allocations: 0.86 MB / 2.999 GB, free: 86.43 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/6.245, allocations: 8 kB / 2.999 GB, free: 86.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/6.245, allocations: 0 / 2.999 GB, free: 86.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004886/6.246, allocations: 173.6 kB / 2.999 GB, free: 86.29 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003309/6.246, allocations: 104.8 kB / 2.999 GB, free: 86.19 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002754/6.249, allocations: 2.775 MB / 3.002 GB, free: 83.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006476/6.25, allocations: 90.98 kB / 3.002 GB, free: 83.86 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.975e-05/6.25, allocations: 25.98 kB / 3.002 GB, free: 83.84 MB / 0.7136 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 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition5,$whenCondition4,$PRE.intGai.nextTimeEvent,$whenCondition3,$PRE.reference.nextTimeEvent,$whenCondition1,$whenCondition2,reference.nextTimeEvent,$PRE.reference.nextTimeEventScaled,reference.nextTimeEventScaled,$PRE.assEqu.satisfied,assEqu.satisfied,$PRE.mean.y_last,mean.y_last,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006607/6.25, allocations: 385.1 kB / 3.002 GB, free: 83.53 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001558/6.25, allocations: 122.5 kB / 3.002 GB, free: 83.41 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001299/6.252, allocations: 0.7591 MB / 3.003 GB, free: 82.69 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/6.252, allocations: 8 kB / 3.003 GB, free: 82.68 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/6.252, allocations: 0 / 3.003 GB, free: 82.68 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/6.252, allocations: 3.984 kB / 3.003 GB, free: 82.68 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002667/6.254, allocations: 1.796 MB / 3.005 GB, free: 80.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/6.254, allocations: 0 / 3.005 GB, free: 80.83 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002202/6.255, allocations: 51.97 kB / 3.005 GB, free: 80.78 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000397/6.255, allocations: 186.8 kB / 3.005 GB, free: 80.59 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.54e-05/6.255, allocations: 11.98 kB / 3.005 GB, free: 80.58 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00287/6.258, allocations: 3.961 MB / 3.009 GB, free: 76.35 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/6.258, allocations: 4.031 kB / 3.009 GB, free: 76.34 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001695/6.26, allocations: 1.074 MB / 3.01 GB, free: 75.25 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005213/6.26, allocations: 303.5 kB / 3.01 GB, free: 74.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/6.26, allocations: 16 kB / 3.01 GB, free: 74.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003431/6.261, allocations: 39.97 kB / 3.01 GB, free: 74.88 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/6.261, allocations: 60.72 kB / 3.01 GB, free: 74.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.893e-05/6.261, allocations: 15.98 kB / 3.01 GB, free: 74.8 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001297/6.262, allocations: 1.238 MB / 3.011 GB, free: 73.56 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.91e-07/6.262, allocations: 0 / 3.011 GB, free: 73.56 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009967/6.263, allocations: 319.5 kB / 3.012 GB, free: 73.25 MB / 0.7136 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_last) * 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 (29): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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%) 14,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001497/6.265, allocations: 0.9711 MB / 3.013 GB, free: 72.47 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001406/6.266, allocations: 0.7303 MB / 3.013 GB, free: 71.73 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/6.266, allocations: 0 / 3.013 GB, free: 71.73 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006959/6.267, allocations: 0.5625 MB / 3.014 GB, free: 71.14 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008854/6.268, allocations: 179.2 kB / 3.014 GB, free: 70.96 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003509/6.271, allocations: 2.797 MB / 3.017 GB, free: 68.14 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005391/6.272, allocations: 1.177 MB / 3.018 GB, free: 66.93 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0003428/6.272, allocations: 136.7 kB / 3.018 GB, free: 66.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/6.272, allocations: 67.42 kB / 3.018 GB, free: 66.73 MB / 0.7136 GB Notification: Performance of SimCode: time 5.11e-07/6.272, allocations: 0 / 3.018 GB, free: 66.73 MB / 0.7136 GB Notification: Performance of Templates: time 0.02648/6.299, allocations: 18.77 MB / 3.037 GB, free: 48.08 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)