Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.conf.json 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/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/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.5.|Que.1.|Que.2.|Que.3.|Que.5.|Tu.1.|Tu.2.|Tu.3.|Tu.5.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.5..|der.x.1..|der.x.2..|der.x.3..|der.x.5..|time|time|u.1.|u.2.|u.3.|u.5.|x.1.|x.2.|x.3.|x.5.",fileNamePrefix="ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.5.|Que.1.|Que.2.|Que.3.|Que.5.|Tu.1.|Tu.2.|Tu.3.|Tu.5.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.5..|der.x.1..|der.x.2..|der.x.3..|der.x.5..|time|time|u.1.|u.2.|u.3.|u.5.|x.1.|x.2.|x.3.|x.5.",fileNamePrefix="ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 106.4 kB / 17.01 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 196.5 kB / 17.95 MB, free: 5.141 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.3988/0.3988, allocations: 225.7 MB / 244.4 MB, free: 6.227 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5707/0.5707, allocations: 119.5 MB / 414 MB, free: 10.36 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001004/0.001004, allocations: 67.91 kB / 0.4959 GB, free: 12.44 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4268/0.4278, allocations: 80.68 MB / 0.5747 GB, free: 57.34 MB / 478.2 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.00187/0.4297, allocations: 1.386 MB / 0.5761 GB, free: 56.37 MB / 478.2 MB Notification: Performance of NFInst.instExpressions: time 0.0006128/0.4303, allocations: 0.5075 MB / 0.5766 GB, free: 56.03 MB / 478.2 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.591e-05/0.4303, allocations: 3.938 kB / 0.5766 GB, free: 56.03 MB / 478.2 MB Notification: Performance of NFTyping.typeComponents: time 6.35e-05/0.4304, allocations: 12.52 kB / 0.5766 GB, free: 56.02 MB / 478.2 MB Notification: Performance of NFTyping.typeBindings: time 0.000212/0.4306, allocations: 53.47 kB / 0.5766 GB, free: 56 MB / 478.2 MB Notification: Performance of NFTyping.typeClassSections: time 9.041e-05/0.4307, allocations: 41.5 kB / 0.5767 GB, free: 55.98 MB / 478.2 MB Notification: Performance of NFFlatten.flatten: time 0.000163/0.4309, allocations: 195.7 kB / 0.5768 GB, free: 55.91 MB / 478.2 MB Notification: Performance of NFFlatten.resolveConnections: time 3.305e-05/0.431, allocations: 11.3 kB / 0.5769 GB, free: 55.91 MB / 478.2 MB Notification: Performance of NFEvalConstants.evaluate: time 9.478e-05/0.4311, allocations: 69.41 kB / 0.5769 GB, free: 55.89 MB / 478.2 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.4312, allocations: 96.66 kB / 0.577 GB, free: 55.86 MB / 478.2 MB Notification: Performance of NFPackage.collectConstants: time 2.332e-05/0.4312, allocations: 7.594 kB / 0.577 GB, free: 55.86 MB / 478.2 MB Notification: Performance of NFFlatten.collectFunctions: time 7.553e-05/0.4313, allocations: 41.61 kB / 0.5771 GB, free: 55.85 MB / 478.2 MB Notification: Performance of NFScalarize.scalarize: time 8.282e-05/0.4314, allocations: 65.58 kB / 0.5771 GB, free: 55.83 MB / 478.2 MB Notification: Performance of NFVerifyModel.verify: time 6.948e-05/0.4315, allocations: 72.83 kB / 0.5772 GB, free: 55.79 MB / 478.2 MB Notification: Performance of NFConvertDAE.convert: time 0.0001457/0.4316, allocations: 135 kB / 0.5773 GB, free: 55.76 MB / 478.2 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.4316, allocations: 1.312 kB / 0.5773 GB, free: 55.76 MB / 478.2 MB Notification: Performance of FrontEnd: time 1.032e-06/0.4316, allocations: 0 / 0.5773 GB, free: 55.76 MB / 478.2 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.4317, allocations: 0 / 0.5773 GB, free: 55.76 MB / 478.2 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005799/0.4322, allocations: 479.2 kB / 0.5778 GB, free: 55.34 MB / 478.2 MB Notification: Performance of prepare preOptimizeDAE: time 2.492e-05/0.4323, allocations: 9.875 kB / 0.5778 GB, free: 55.34 MB / 478.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.709e-05/0.4323, allocations: 16.55 kB / 0.5778 GB, free: 55.33 MB / 478.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.4325, allocations: 220.8 kB / 0.578 GB, free: 55.11 MB / 478.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.4325, allocations: 12.73 kB / 0.578 GB, free: 55.11 MB / 478.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.342e-05/0.4325, allocations: 22.7 kB / 0.5781 GB, free: 55.09 MB / 478.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002502/0.4328, allocations: 177.2 kB / 0.5782 GB, free: 55.03 MB / 478.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.4328, allocations: 0 / 0.5782 GB, free: 55.03 MB / 478.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.4328, allocations: 5.281 kB / 0.5782 GB, free: 55.02 MB / 478.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.4328, allocations: 3.859 kB / 0.5782 GB, free: 55.02 MB / 478.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000208/0.433, allocations: 145.5 kB / 0.5784 GB, free: 54.99 MB / 478.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002301/0.4333, allocations: 284.8 kB / 0.5786 GB, free: 54.75 MB / 478.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008027/0.4341, allocations: 356.7 kB / 0.579 GB, free: 54.66 MB / 478.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.4342, allocations: 120.2 kB / 0.5791 GB, free: 54.62 MB / 478.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001222/0.4344, allocations: 90.36 kB / 0.5792 GB, free: 54.52 MB / 478.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.123e-05/0.4344, allocations: 34.03 kB / 0.5792 GB, free: 54.48 MB / 478.2 MB Notification: Performance of pre-optimization done (n=28): time 1.162e-06/0.4344, allocations: 4 kB / 0.5792 GB, free: 54.48 MB / 478.2 MB Notification: Performance of matching and sorting (n=28): time 0.0005282/0.4349, allocations: 378.1 kB / 0.5796 GB, free: 54.36 MB / 478.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.934e-05/0.435, allocations: 54.84 kB / 0.5796 GB, free: 54.29 MB / 478.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.899e-05/0.435, allocations: 140.5 kB / 0.5798 GB, free: 54.18 MB / 478.2 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.4351, allocations: 31.08 kB / 0.5798 GB, free: 54.14 MB / 478.2 MB Notification: Performance of collectInitialEqns (initialization): time 2.071e-05/0.4351, allocations: 93 kB / 0.5799 GB, free: 54.05 MB / 478.2 MB Notification: Performance of collectInitialBindings (initialization): time 6.216e-05/0.4351, allocations: 110 kB / 0.58 GB, free: 53.96 MB / 478.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.287e-05/0.4352, allocations: 61.58 kB / 0.58 GB, free: 53.93 MB / 478.2 MB Notification: Performance of setup shared object (initialization): time 4.057e-05/0.4353, allocations: 337.2 kB / 0.5804 GB, free: 53.6 MB / 478.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001627/0.4354, allocations: 124.8 kB / 0.5805 GB, free: 53.57 MB / 478.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.4356, allocations: 125.2 kB / 0.5806 GB, free: 53.54 MB / 478.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003269/0.4359, allocations: 278.6 kB / 0.5809 GB, free: 53.45 MB / 478.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.4359, allocations: 0 / 0.5809 GB, free: 53.45 MB / 478.2 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004178/0.4364, allocations: 353.7 kB / 0.5812 GB, free: 53.32 MB / 478.2 MB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.4364, allocations: 5.906 kB / 0.5812 GB, free: 53.32 MB / 478.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.4364, allocations: 0 / 0.5812 GB, free: 53.32 MB / 478.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.4364, allocations: 1.609 kB / 0.5812 GB, free: 53.32 MB / 478.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002741/0.4367, allocations: 80.28 kB / 0.5813 GB, free: 53.31 MB / 478.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.4367, allocations: 6.078 kB / 0.5813 GB, free: 53.31 MB / 478.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.79e-05/0.4368, allocations: 23.47 kB / 0.5813 GB, free: 53.29 MB / 478.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.4368, allocations: 13.33 kB / 0.5813 GB, free: 53.29 MB / 478.2 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.673e-05/0.4369, allocations: 138.4 kB / 0.5815 GB, free: 53.16 MB / 478.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.658e-05/0.4369, allocations: 14.5 kB / 0.5815 GB, free: 53.15 MB / 478.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005486/0.4375, allocations: 401.9 kB / 0.5819 GB, free: 52.98 MB / 478.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.4375, allocations: 9.016 kB / 0.5819 GB, free: 52.98 MB / 478.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4375, allocations: 0 / 0.5819 GB, free: 52.98 MB / 478.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.4375, allocations: 1.969 kB / 0.5819 GB, free: 52.98 MB / 478.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002182/0.4377, allocations: 318.1 kB / 0.5822 GB, free: 52.73 MB / 478.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4378, allocations: 1.031 kB / 0.5822 GB, free: 52.73 MB / 478.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003602/0.4381, allocations: 84.28 kB / 0.5823 GB, free: 52.72 MB / 478.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.4381, allocations: 1.5 kB / 0.5823 GB, free: 52.72 MB / 478.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.554e-05/0.4382, allocations: 16.73 kB / 0.5823 GB, free: 52.71 MB / 478.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.4382, allocations: 5.188 kB / 0.5823 GB, free: 52.71 MB / 478.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.4382, allocations: 1.25 kB / 0.5823 GB, free: 52.71 MB / 478.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006081/0.4388, allocations: 0.5261 MB / 0.5828 GB, free: 52.49 MB / 478.2 MB Notification: Performance of postOpt removeConstants (simulation): time 8.293e-05/0.4389, allocations: 126.2 kB / 0.5829 GB, free: 52.38 MB / 478.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.524e-05/0.4389, allocations: 8.469 kB / 0.5829 GB, free: 52.38 MB / 478.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.795e-05/0.439, allocations: 13.8 kB / 0.5829 GB, free: 52.37 MB / 478.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.388e-05/0.4391, allocations: 17.14 kB / 0.583 GB, free: 52.37 MB / 478.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.4391, allocations: 16.34 kB / 0.583 GB, free: 52.36 MB / 478.2 MB Notification: Performance of sorting global known variables: time 3.608e-05/0.4391, allocations: 102.2 kB / 0.5831 GB, free: 52.28 MB / 478.2 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4391, allocations: 0 / 0.5831 GB, free: 52.28 MB / 478.2 MB Notification: Performance of remove unused functions: time 0.0002288/0.4394, allocations: 73.88 kB / 0.5831 GB, free: 52.27 MB / 478.2 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],x[1],x[2],x[3],x[4],x[5]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.688e-05/0.4395, allocations: 111.1 kB / 0.5832 GB, free: 52.17 MB / 478.2 MB Notification: Performance of simCode: created initialization part: time 0.0004034/0.4399, allocations: 310.4 kB / 0.5835 GB, free: 52.09 MB / 478.2 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.4399, allocations: 3.938 kB / 0.5835 GB, free: 52.09 MB / 478.2 MB Notification: Performance of simCode: created simulation system equations: time 0.0001953/0.4401, allocations: 168.5 kB / 0.5837 GB, free: 52.05 MB / 478.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002149/0.4403, allocations: 42.66 kB / 0.5837 GB, free: 52.02 MB / 478.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009613/0.4413, allocations: 0.8503 MB / 0.5846 GB, free: 51.48 MB / 478.2 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001605/0.4414, allocations: 0.7494 MB / 0.5853 GB, free: 50.78 MB / 478.2 MB Notification: Performance of simCode: alias equations: time 0.0001607/0.4416, allocations: 88.98 kB / 0.5854 GB, free: 50.77 MB / 478.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.589e-05/0.4417, allocations: 32.38 kB / 0.5854 GB, free: 50.76 MB / 478.2 MB Notification: Performance of SimCode: time 2.1e-07/0.4417, allocations: 0 / 0.5854 GB, free: 50.76 MB / 478.2 MB Notification: Performance of Templates: time 0.006924/0.4486, allocations: 3.054 MB / 0.5884 GB, free: 50 MB / 478.2 MB make -j1 -f ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.makefile (rm -f ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; mkfifo ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; head -c 1048576 < ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe >> ../files/ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.sim & ./ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5 -s=ida -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) diffSimulationResults("ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","../files/ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches