Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.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.TestCase9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7414/0.7414, allocations: 141.7 MB / 154.3 MB, free: 15.49 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.0009712/0.0009712, allocations: 184 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.359/1.359, allocations: 221.3 MB / 441.4 MB, free: 4.648 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.0008552/0.0008551, allocations: 95.81 kB / 0.5124 GB, free: 24.15 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001762/0.001762, allocations: 267 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.156e-05/4.166e-05, allocations: 4 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3963/0.3964, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.635/6.031, allocations: 2.151 GB / 2.916 GB, free: 118 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003275/6.031, allocations: 94.08 kB / 2.916 GB, free: 117.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1707/6.202, allocations: 84.08 MB / 2.998 GB, free: 41.46 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.984e-06/6.202, allocations: 3.938 kB / 2.998 GB, free: 41.46 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002059/6.202, allocations: 51.94 kB / 2.998 GB, free: 41.41 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.004202/6.207, allocations: 2.513 MB / 3 GB, free: 38.83 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/6.207, allocations: 8.031 kB / 3 GB, free: 38.82 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006351/6.207, allocations: 347.7 kB / 3.001 GB, free: 38.48 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00521/6.213, allocations: 2.597 MB / 3.003 GB, free: 35.83 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001447/6.213, allocations: 111.7 kB / 3.003 GB, free: 35.71 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/6.213, allocations: 84 kB / 3.003 GB, free: 35.63 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/6.214, allocations: 0.9422 MB / 3.004 GB, free: 34.68 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.523e-05/6.214, allocations: 3.984 kB / 3.004 GB, free: 34.68 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.358e-05/6.215, allocations: 43.98 kB / 3.004 GB, free: 34.63 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.21e-05/6.215, allocations: 20 kB / 3.004 GB, free: 34.61 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/6.216, allocations: 0.7731 MB / 3.005 GB, free: 33.84 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007227/6.223, allocations: 4.898 MB / 3.01 GB, free: 28.66 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001435/6.224, allocations: 0.9336 MB / 3.011 GB, free: 27.73 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007274/6.225, allocations: 0.523 MB / 3.011 GB, free: 27.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.692e-05/6.225, allocations: 16.77 kB / 3.011 GB, free: 27.19 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007803/6.226, allocations: 0.567 MB / 3.012 GB, free: 26.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=104): time 4.438e-06/6.226, allocations: 0 / 3.012 GB, free: 26.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=104): time 0.002796/6.229, allocations: 1.487 MB / 3.013 GB, free: 25.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/6.229, allocations: 72.39 kB / 3.013 GB, free: 25.01 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00698/6.236, allocations: 4.505 MB / 3.018 GB, free: 20.52 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002797/6.236, allocations: 53.7 kB / 3.018 GB, free: 20.46 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001041/6.237, allocations: 1.349 MB / 3.019 GB, free: 19.11 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003856/6.238, allocations: 335.4 kB / 3.02 GB, free: 18.77 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-05/6.238, allocations: 20 kB / 3.02 GB, free: 18.75 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000117/6.238, allocations: 341.9 kB / 3.02 GB, free: 18.41 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005993/6.239, allocations: 382.5 kB / 3.02 GB, free: 18.04 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006765/6.239, allocations: 0.5402 MB / 3.021 GB, free: 17.45 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006876/6.24, allocations: 439.4 kB / 3.021 GB, free: 17.02 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/6.24, allocations: 0 / 3.021 GB, free: 17.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003112/6.243, allocations: 1.601 MB / 3.023 GB, free: 15.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.135e-05/6.243, allocations: 4 kB / 3.023 GB, free: 15.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/6.243, allocations: 4 kB / 3.023 GB, free: 15.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009178/6.244, allocations: 348.2 kB / 3.023 GB, free: 15.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006779/6.245, allocations: 187.7 kB / 3.023 GB, free: 14.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004934/6.25, allocations: 4.994 MB / 3.028 GB, free: 9.602 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001734/6.251, allocations: 167 kB / 3.028 GB, free: 9.438 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.022e-05/6.252, allocations: 39.98 kB / 3.028 GB, free: 9.398 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 41 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition9,$whenCondition8,$PRE.intGai.nextTimeEvent,$whenCondition7,$PRE.reference.nextTimeEvent,$whenCondition6,$PRE.outdoorTemp.nextTimeEvent,$whenCondition5,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWall.nextTimeEvent,$whenCondition3,$PRE.HSky.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,outdoorTemp.nextTimeEvent,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,$PRE.tableSolRadWall.nextTimeEventScaled,tableSolRadWall.nextTimeEventScaled,HSky.nextTimeEvent,$PRE.HSky.nextTimeEventScaled,HSky.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 102 * 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 {(1,100.0%) 3,(2,100.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003084/6.252, allocations: 166.1 kB / 3.029 GB, free: 9.23 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004832/6.252, allocations: 331.9 kB / 3.029 GB, free: 8.902 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003234/6.256, allocations: 1.698 MB / 3.03 GB, free: 7.191 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.846e-06/6.256, allocations: 12 kB / 3.031 GB, free: 7.18 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/6.256, allocations: 4 kB / 3.031 GB, free: 7.176 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/6.256, allocations: 3.984 kB / 3.031 GB, free: 7.172 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006331/6.262, allocations: 4.089 MB / 3.035 GB, free: 3.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/6.262, allocations: 0 / 3.035 GB, free: 3.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004671/6.262, allocations: 127.8 kB / 3.035 GB, free: 2.895 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007639/6.263, allocations: 325.5 kB / 3.035 GB, free: 2.57 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.755e-05/6.263, allocations: 31.98 kB / 3.035 GB, free: 2.539 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5375/6.801, allocations: 4.959 MB / 3.04 GB, free: 205.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/6.801, allocations: 0.625 kB / 3.04 GB, free: 205.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005464/6.806, allocations: 2.25 MB / 3.042 GB, free: 205.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002365/6.809, allocations: 0.7236 MB / 3.043 GB, free: 204.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003596/6.809, allocations: 33.03 kB / 3.043 GB, free: 204.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007982/6.81, allocations: 79.8 kB / 3.043 GB, free: 204.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004097/6.81, allocations: 105 kB / 3.043 GB, free: 204.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.661e-05/6.81, allocations: 36.03 kB / 3.043 GB, free: 204.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.006467/6.817, allocations: 3.597 MB / 3.046 GB, free: 204.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.3e-07/6.817, allocations: 0 / 3.046 GB, free: 204.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002377/6.819, allocations: 0.6283 MB / 3.047 GB, free: 204.7 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: 26 ($whenCondition9,$whenCondition8,$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,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,tableSolRadWall.nextTimeEventScaled,HSky.nextTimeEvent,HSky.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 15 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,tableSolRadWall.nextTimeEvent,HSky.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,HSky.nextTimeEventScaled,tableSolRadWall.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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%) 25,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001843/6.821, allocations: 0.9531 MB / 3.048 GB, free: 204.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002218/6.823, allocations: 1.324 MB / 3.049 GB, free: 204.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/6.823, allocations: 4.938 kB / 3.049 GB, free: 204.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001183/6.825, allocations: 0.8865 MB / 3.05 GB, free: 204.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002169/6.827, allocations: 347 kB / 3.051 GB, free: 204.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009804/6.837, allocations: 5.381 MB / 3.056 GB, free: 203.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00153/6.838, allocations: 2.03 MB / 3.058 GB, free: 202.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001176/6.839, allocations: 397.5 kB / 3.058 GB, free: 202.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004226/6.84, allocations: 146.3 kB / 3.058 GB, free: 202.4 MB / 0.698 GB Notification: Performance of SimCode: time 1.202e-06/6.84, allocations: 3.281 kB / 3.058 GB, free: 202.4 MB / 0.698 GB Notification: Performance of Templates: time 0.06239/6.902, allocations: 33.66 MB / 3.091 GB, free: 200.6 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe 2>&1)