Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.TestCase2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8126/0.8126, allocations: 141.8 MB / 149.3 MB, free: 9.199 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.001045/0.001045, allocations: 176.6 kB / 182.2 MB, free: 9.438 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.407/1.407, allocations: 221.5 MB / 436.4 MB, free: 13.33 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.0009508/0.0009507, allocations: 80.11 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003395/0.003395, allocations: 274.1 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.541e-05/1.544e-05, allocations: 0 / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4203/0.4204, allocations: 82.78 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.692/5.112, allocations: 2.148 GB / 2.905 GB, free: 190.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/5.112, allocations: 103.3 kB / 2.905 GB, free: 190.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1268/5.239, allocations: 64.09 MB / 2.968 GB, free: 126.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.102e-06/5.239, allocations: 0 / 2.968 GB, free: 126.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.032e-05/5.239, allocations: 24 kB / 2.968 GB, free: 126.2 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.001623/5.241, allocations: 1.23 MB / 2.969 GB, free: 124.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/5.241, allocations: 12.03 kB / 2.969 GB, free: 124.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000166/5.241, allocations: 134.3 kB / 2.969 GB, free: 124.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002656/5.244, allocations: 1.444 MB / 2.971 GB, free: 123.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/5.244, allocations: 59 kB / 2.971 GB, free: 123.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.799e-05/5.244, allocations: 35.94 kB / 2.971 GB, free: 123.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004946/5.245, allocations: 314.5 kB / 2.971 GB, free: 122.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005747/5.245, allocations: 425 kB / 2.971 GB, free: 122.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/5.245, allocations: 0 / 2.971 GB, free: 122.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.723e-05/5.245, allocations: 8 kB / 2.971 GB, free: 122.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/5.245, allocations: 8 kB / 2.971 GB, free: 122.4 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002823/5.248, allocations: 2.626 MB / 2.974 GB, free: 119.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005318/5.249, allocations: 366.1 kB / 2.974 GB, free: 119.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003195/5.249, allocations: 242.3 kB / 2.974 GB, free: 119 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/5.249, allocations: 8.266 kB / 2.974 GB, free: 119 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003115/5.249, allocations: 249.8 kB / 2.975 GB, free: 118.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=45): time 2.074e-06/5.249, allocations: 4 kB / 2.975 GB, free: 118.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=45): time 0.0008913/5.25, allocations: 0.588 MB / 2.975 GB, free: 118.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.007e-05/5.25, allocations: 55.41 kB / 2.975 GB, free: 118.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001799/5.252, allocations: 1.458 MB / 2.977 GB, free: 116.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.18e-05/5.252, allocations: 29.7 kB / 2.977 GB, free: 116.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002698/5.252, allocations: 0.502 MB / 2.977 GB, free: 116.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.63e-05/5.252, allocations: 142 kB / 2.977 GB, free: 115.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.24e-05/5.252, allocations: 0 / 2.977 GB, free: 115.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.505e-05/5.253, allocations: 322.4 kB / 2.978 GB, free: 115.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002897/5.253, allocations: 153.1 kB / 2.978 GB, free: 115.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002906/5.253, allocations: 251.9 kB / 2.978 GB, free: 115.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000263/5.253, allocations: 185.2 kB / 2.978 GB, free: 115 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/5.253, allocations: 7.891 kB / 2.978 GB, free: 115 MB / 0.698 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008985/5.254, allocations: 0.664 MB / 2.979 GB, free: 114.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/5.254, allocations: 8 kB / 2.979 GB, free: 114.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/5.254, allocations: 11.94 kB / 2.979 GB, free: 114.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003817/5.255, allocations: 150.2 kB / 2.979 GB, free: 114.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003327/5.255, allocations: 99.88 kB / 2.979 GB, free: 114 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002144/5.257, allocations: 2.504 MB / 2.982 GB, free: 111.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004713/5.258, allocations: 79.61 kB / 2.982 GB, free: 111.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.279e-05/5.258, allocations: 24 kB / 2.982 GB, free: 111.3 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: 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 (50): * Single equations (assignments): 49 * 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%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.359e-05/5.258, allocations: 120.9 kB / 2.982 GB, free: 111.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/5.258, allocations: 126.6 kB / 2.982 GB, free: 111.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009867/5.259, allocations: 0.6379 MB / 2.983 GB, free: 110.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/5.259, allocations: 4 kB / 2.983 GB, free: 110.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/5.259, allocations: 8 kB / 2.983 GB, free: 110.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/5.259, allocations: 0 / 2.983 GB, free: 110.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001953/5.261, allocations: 1.615 MB / 2.984 GB, free: 108.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/5.261, allocations: 0 / 2.984 GB, free: 108.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002239/5.261, allocations: 47.97 kB / 2.984 GB, free: 108.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003518/5.262, allocations: 169.5 kB / 2.984 GB, free: 108.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.065e-05/5.262, allocations: 11.98 kB / 2.984 GB, free: 108.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002593/5.264, allocations: 3.809 MB / 2.988 GB, free: 104.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/5.264, allocations: 3.953 kB / 2.988 GB, free: 104.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/5.265, allocations: 0.9064 MB / 2.989 GB, free: 103.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003494/5.266, allocations: 307.4 kB / 2.989 GB, free: 103.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/5.266, allocations: 15.98 kB / 2.989 GB, free: 103.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000346/5.266, allocations: 32.28 kB / 2.989 GB, free: 103.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/5.266, allocations: 64.28 kB / 2.989 GB, free: 103.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.742e-05/5.266, allocations: 15.94 kB / 2.989 GB, free: 103.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001026/5.267, allocations: 1.147 MB / 2.991 GB, free: 101.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/5.267, allocations: 0 / 2.991 GB, free: 101.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009369/5.268, allocations: 291.5 kB / 2.991 GB, free: 101.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%) 13,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001262/5.27, allocations: 0.9701 MB / 2.992 GB, free: 100.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008262/5.271, allocations: 0.5648 MB / 2.992 GB, free: 100.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/5.271, allocations: 0.6875 kB / 2.992 GB, free: 100.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005563/5.271, allocations: 0.4966 MB / 2.993 GB, free: 99.68 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008479/5.272, allocations: 173.3 kB / 2.993 GB, free: 99.51 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002616/5.275, allocations: 2 MB / 2.995 GB, free: 97.47 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005024/5.275, allocations: 1.173 MB / 2.996 GB, free: 96.27 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002988/5.275, allocations: 144.5 kB / 2.996 GB, free: 96.13 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001663/5.276, allocations: 63.42 kB / 2.996 GB, free: 96.07 MB / 0.698 GB Notification: Performance of SimCode: time 4.61e-07/5.276, allocations: 0 / 2.996 GB, free: 96.07 MB / 0.698 GB Notification: Performance of Templates: time 0.01981/5.295, allocations: 13.42 MB / 3.009 GB, free: 82.72 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)