Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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.TestCase6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9077/0.9077, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009777/0.0009777, allocations: 185.6 kB / 187.3 MB, free: 11.88 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.458/1.458, allocations: 221.3 MB / 441.4 MB, free: 4.602 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.0008147/0.0008147, allocations: 91.55 kB / 0.5124 GB, free: 24.06 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001879/0.001879, allocations: 272.7 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.819e-05/2.821e-05, allocations: 4 kB / 0.6834 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4111/0.4112, allocations: 82.75 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.862/6.273, allocations: 2.149 GB / 2.913 GB, free: 121 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/6.274, allocations: 92.67 kB / 2.913 GB, free: 121 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1346/6.408, allocations: 68.06 MB / 2.98 GB, free: 60.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.425e-06/6.408, allocations: 0 / 2.98 GB, free: 60.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001011/6.409, allocations: 31.98 kB / 2.98 GB, free: 60.67 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002072/6.411, allocations: 1.373 MB / 2.981 GB, free: 59.25 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/6.411, allocations: 12.03 kB / 2.981 GB, free: 59.23 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000258/6.411, allocations: 162 kB / 2.981 GB, free: 59.07 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003282/6.414, allocations: 1.56 MB / 2.983 GB, free: 57.46 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/6.414, allocations: 86.64 kB / 2.983 GB, free: 57.37 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.195e-05/6.415, allocations: 55.98 kB / 2.983 GB, free: 57.32 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008924/6.415, allocations: 0.5146 MB / 2.983 GB, free: 56.79 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.258e-05/6.415, allocations: 0 / 2.983 GB, free: 56.79 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.921e-05/6.416, allocations: 19.98 kB / 2.983 GB, free: 56.77 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.464e-05/6.416, allocations: 12 kB / 2.983 GB, free: 56.75 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005689/6.416, allocations: 375.8 kB / 2.984 GB, free: 56.39 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003635/6.42, allocations: 2.963 MB / 2.987 GB, free: 53.19 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000681/6.42, allocations: 426.5 kB / 2.987 GB, free: 52.77 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004019/6.421, allocations: 281.8 kB / 2.987 GB, free: 52.49 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.393e-05/6.421, allocations: 4.375 kB / 2.987 GB, free: 52.49 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004232/6.421, allocations: 289.2 kB / 2.987 GB, free: 52.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=52): time 2.525e-06/6.421, allocations: 0 / 2.987 GB, free: 52.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=52): time 0.001264/6.423, allocations: 0.6989 MB / 2.988 GB, free: 51.48 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/6.423, allocations: 59.84 kB / 2.988 GB, free: 51.41 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002522/6.425, allocations: 1.861 MB / 2.99 GB, free: 49.54 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.221e-05/6.425, allocations: 37.7 kB / 2.99 GB, free: 49.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000419/6.426, allocations: 0.605 MB / 2.991 GB, free: 48.89 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/6.426, allocations: 173.6 kB / 2.991 GB, free: 48.71 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.427e-05/6.426, allocations: 12 kB / 2.991 GB, free: 48.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.894e-05/6.426, allocations: 330 kB / 2.991 GB, free: 48.38 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002616/6.426, allocations: 177.5 kB / 2.991 GB, free: 48.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003043/6.427, allocations: 287.2 kB / 2.992 GB, free: 47.88 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003028/6.427, allocations: 202.6 kB / 2.992 GB, free: 47.68 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/6.427, allocations: 0 / 2.992 GB, free: 47.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001204/6.428, allocations: 0.7927 MB / 2.993 GB, free: 46.88 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/6.428, allocations: 8 kB / 2.993 GB, free: 46.87 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/6.428, allocations: 0 / 2.993 GB, free: 46.87 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004738/6.429, allocations: 176.8 kB / 2.993 GB, free: 46.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003998/6.429, allocations: 115.8 kB / 2.993 GB, free: 46.58 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002696/6.432, allocations: 2.635 MB / 2.995 GB, free: 43.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005972/6.432, allocations: 99.53 kB / 2.996 GB, free: 43.72 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.953e-05/6.432, allocations: 20 kB / 2.996 GB, free: 43.7 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition6,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$PRE.setTemp.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,setTemp.nextTimeEvent,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * 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.0001571/6.433, allocations: 159 kB / 2.996 GB, free: 43.54 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001713/6.433, allocations: 150.2 kB / 2.996 GB, free: 43.39 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001335/6.434, allocations: 0.7643 MB / 2.997 GB, free: 42.61 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/6.434, allocations: 4 kB / 2.997 GB, free: 42.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/6.434, allocations: 11.94 kB / 2.997 GB, free: 42.59 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/6.434, allocations: 0 / 2.997 GB, free: 42.59 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002768/6.437, allocations: 1.948 MB / 2.998 GB, free: 40.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/6.437, allocations: 3.984 kB / 2.998 GB, free: 40.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002428/6.437, allocations: 55.91 kB / 2.999 GB, free: 40.51 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003847/6.438, allocations: 183.6 kB / 2.999 GB, free: 40.33 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.642e-05/6.438, allocations: 15.95 kB / 2.999 GB, free: 40.31 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003037/6.441, allocations: 4.022 MB / 3.003 GB, free: 36.02 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/6.441, allocations: 3.938 kB / 3.003 GB, free: 36.02 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001506/6.442, allocations: 1.064 MB / 3.004 GB, free: 34.93 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006061/6.443, allocations: 351.1 kB / 3.004 GB, free: 34.57 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/6.443, allocations: 19.98 kB / 3.004 GB, free: 34.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004213/6.443, allocations: 47.97 kB / 3.004 GB, free: 34.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/6.444, allocations: 64.45 kB / 3.004 GB, free: 34.44 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-05/6.444, allocations: 15.98 kB / 3.004 GB, free: 34.42 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001705/6.445, allocations: 1.481 MB / 3.006 GB, free: 32.94 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.7e-07/6.445, allocations: 0 / 3.006 GB, free: 32.94 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00115/6.446, allocations: 343.5 kB / 3.006 GB, free: 32.61 MB / 0.698 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: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001706/6.448, allocations: 0.9257 MB / 3.007 GB, free: 31.83 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001179/6.449, allocations: 0.6704 MB / 3.008 GB, free: 31.14 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/6.449, allocations: 11.94 kB / 3.008 GB, free: 31.13 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006398/6.45, allocations: 0.5315 MB / 3.008 GB, free: 30.57 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/6.451, allocations: 202.8 kB / 3.008 GB, free: 30.38 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003702/6.455, allocations: 2.417 MB / 3.011 GB, free: 27.93 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006669/6.456, allocations: 1.282 MB / 3.012 GB, free: 26.62 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004368/6.456, allocations: 169 kB / 3.012 GB, free: 26.46 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001921/6.456, allocations: 79.42 kB / 3.012 GB, free: 26.38 MB / 0.698 GB Notification: Performance of SimCode: time 7.91e-07/6.456, allocations: 0 / 3.012 GB, free: 26.38 MB / 0.698 GB Notification: Performance of Templates: time 0.03157/6.488, allocations: 21.77 MB / 3.033 GB, free: 4.672 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1)