Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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.TestCase1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7893/0.7893, allocations: 141.8 MB / 149.3 MB, free: 9.195 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.001079/0.001079, allocations: 180.8 kB / 182.2 MB, free: 9.434 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.415/1.415, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.0009048/0.0009048, allocations: 103.8 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001797/0.001797, allocations: 283 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.552e-05/1.555e-05, allocations: 4 kB / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4132/0.4132, allocations: 82.77 MB / 0.7574 GB, free: 31.98 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.731/5.144, allocations: 2.148 GB / 2.905 GB, free: 191.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003103/5.144, allocations: 99.23 kB / 2.905 GB, free: 191.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1315/5.276, allocations: 64.1 MB / 2.968 GB, free: 126.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.373e-06/5.276, allocations: 0 / 2.968 GB, free: 126.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001359/5.276, allocations: 24 kB / 2.968 GB, free: 126.5 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002333/5.278, allocations: 1.222 MB / 2.969 GB, free: 125.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/5.278, allocations: 15.97 kB / 2.969 GB, free: 125.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003152/5.279, allocations: 142.2 kB / 2.969 GB, free: 125.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003029/5.282, allocations: 1.44 MB / 2.971 GB, free: 123.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/5.282, allocations: 70.97 kB / 2.971 GB, free: 123.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.507e-05/5.282, allocations: 31.95 kB / 2.971 GB, free: 123.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005735/5.283, allocations: 318.5 kB / 2.971 GB, free: 123.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006485/5.283, allocations: 425 kB / 2.971 GB, free: 122.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/5.283, allocations: 0 / 2.971 GB, free: 122.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.161e-05/5.283, allocations: 4 kB / 2.971 GB, free: 122.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/5.283, allocations: 8 kB / 2.971 GB, free: 122.7 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003201/5.287, allocations: 2.562 MB / 2.974 GB, free: 120 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005218/5.287, allocations: 353.2 kB / 2.974 GB, free: 119.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004291/5.288, allocations: 270.9 kB / 2.974 GB, free: 119.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/5.288, allocations: 4.328 kB / 2.974 GB, free: 119.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000329/5.288, allocations: 239.4 kB / 2.975 GB, free: 119.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=44): time 2.194e-06/5.288, allocations: 0 / 2.975 GB, free: 119.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=44): time 0.0009384/5.289, allocations: 0.5561 MB / 2.975 GB, free: 118.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.249e-05/5.289, allocations: 55.41 kB / 2.975 GB, free: 118.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002019/5.291, allocations: 1.471 MB / 2.977 GB, free: 117 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/5.291, allocations: 25.7 kB / 2.977 GB, free: 116.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002969/5.291, allocations: 0.5136 MB / 2.977 GB, free: 116.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.137e-05/5.291, allocations: 138 kB / 2.977 GB, free: 116.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.497e-05/5.291, allocations: 4 kB / 2.977 GB, free: 116.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.915e-05/5.292, allocations: 330 kB / 2.978 GB, free: 116 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002171/5.292, allocations: 149.1 kB / 2.978 GB, free: 115.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000242/5.292, allocations: 266.2 kB / 2.978 GB, free: 115.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003258/5.292, allocations: 184.7 kB / 2.978 GB, free: 115.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/5.292, allocations: 0 / 2.978 GB, free: 115.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009444/5.293, allocations: 0.6538 MB / 2.979 GB, free: 114.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/5.293, allocations: 5.562 kB / 2.979 GB, free: 114.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/5.293, allocations: 4 kB / 2.979 GB, free: 114.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003488/5.294, allocations: 133 kB / 2.979 GB, free: 114.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003709/5.294, allocations: 115.7 kB / 2.979 GB, free: 114.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002034/5.296, allocations: 2.25 MB / 2.981 GB, free: 112 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004776/5.297, allocations: 83.55 kB / 2.981 GB, free: 112 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.845e-05/5.297, allocations: 24 kB / 2.981 GB, free: 111.9 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: 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001085/5.297, allocations: 125.5 kB / 2.982 GB, free: 111.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001476/5.297, allocations: 122.5 kB / 2.982 GB, free: 111.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009465/5.298, allocations: 0.6149 MB / 2.982 GB, free: 111.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/5.298, allocations: 8 kB / 2.982 GB, free: 111 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/5.298, allocations: 4 kB / 2.982 GB, free: 111 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/5.298, allocations: 7.938 kB / 2.982 GB, free: 111 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001982/5.3, allocations: 1.549 MB / 2.984 GB, free: 109.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/5.3, allocations: 0 / 2.984 GB, free: 109.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002328/5.3, allocations: 55.91 kB / 2.984 GB, free: 109.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003583/5.301, allocations: 161.6 kB / 2.984 GB, free: 109.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.279e-05/5.301, allocations: 0 / 2.984 GB, free: 109.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002394/5.303, allocations: 3.538 MB / 2.987 GB, free: 105.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/5.303, allocations: 0 / 2.987 GB, free: 105.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/5.304, allocations: 0.858 MB / 2.988 GB, free: 104.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000369/5.305, allocations: 295.6 kB / 2.989 GB, free: 104.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/5.305, allocations: 11.98 kB / 2.989 GB, free: 104.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003693/5.305, allocations: 35.97 kB / 2.989 GB, free: 104.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/5.305, allocations: 55.91 kB / 2.989 GB, free: 104.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.952e-05/5.305, allocations: 19.98 kB / 2.989 GB, free: 104.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001119/5.306, allocations: 1.151 MB / 2.99 GB, free: 103 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/5.306, allocations: 0 / 2.99 GB, free: 103 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000978/5.307, allocations: 287.5 kB / 2.99 GB, free: 102.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: 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 22 * 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%) 12,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0017/5.309, allocations: 0.9727 MB / 2.991 GB, free: 101.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001052/5.31, allocations: 0.5647 MB / 2.992 GB, free: 101.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/5.31, allocations: 0 / 2.992 GB, free: 101.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006514/5.311, allocations: 475.3 kB / 2.992 GB, free: 100.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/5.312, allocations: 175.9 kB / 2.992 GB, free: 100.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00334/5.315, allocations: 1.974 MB / 2.994 GB, free: 98.57 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006855/5.316, allocations: 1.177 MB / 2.995 GB, free: 97.37 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005487/5.317, allocations: 144.6 kB / 2.995 GB, free: 97.23 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002472/5.317, allocations: 71.36 kB / 2.996 GB, free: 97.16 MB / 0.698 GB Notification: Performance of SimCode: time 1.523e-06/5.317, allocations: 4 kB / 2.996 GB, free: 97.16 MB / 0.698 GB Notification: Performance of Templates: time 0.02307/5.34, allocations: 13.18 MB / 3.008 GB, free: 84.04 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)