Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001187/0.001187, allocations: 104.9 kB / 16.92 MB, free: 6.145 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.001134/0.001134, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.248/1.248, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7951/0.7951, allocations: 119.3 MB / 411 MB, free: 9.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 63.91 kB / 0.4923 GB, free: 12.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4339/0.435, allocations: 80.68 MB / 0.5711 GB, free: 43.78 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.001979/0.4371, allocations: 1.368 MB / 0.5724 GB, free: 42.69 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006442/0.4377, allocations: 0.5169 MB / 0.5729 GB, free: 42.29 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.632e-05/0.4378, allocations: 1.219 kB / 0.5729 GB, free: 42.29 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.736e-05/0.4379, allocations: 3.938 kB / 0.573 GB, free: 42.28 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002445/0.4381, allocations: 58.39 kB / 0.573 GB, free: 42.24 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 9.138e-05/0.4382, allocations: 46.09 kB / 0.5731 GB, free: 42.2 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.4384, allocations: 188.6 kB / 0.5732 GB, free: 42.11 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.559e-05/0.4385, allocations: 7.578 kB / 0.5732 GB, free: 42.11 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 9.972e-05/0.4386, allocations: 77.22 kB / 0.5733 GB, free: 42.07 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000152/0.4387, allocations: 100.3 kB / 0.5734 GB, free: 42.01 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 3.807e-05/0.4388, allocations: 7.719 kB / 0.5734 GB, free: 42.01 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 8.748e-05/0.4389, allocations: 31.92 kB / 0.5734 GB, free: 42 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 8.63e-05/0.439, allocations: 70.34 kB / 0.5735 GB, free: 41.96 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 7.172e-05/0.439, allocations: 70.61 kB / 0.5736 GB, free: 41.91 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001515/0.4392, allocations: 139.4 kB / 0.5737 GB, free: 41.84 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.4392, allocations: 0 / 0.5737 GB, free: 41.84 MB / 462.3 MB Notification: Performance of FrontEnd: time 9.62e-07/0.4392, allocations: 3.938 kB / 0.5737 GB, free: 41.83 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.4392, allocations: 0 / 0.5737 GB, free: 41.83 MB / 462.3 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.0006408/0.4399, allocations: 484.2 kB / 0.5742 GB, free: 41.38 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 2.993e-05/0.4399, allocations: 12.7 kB / 0.5742 GB, free: 41.38 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.95e-05/0.44, allocations: 19.48 kB / 0.5742 GB, free: 41.37 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.4401, allocations: 213 kB / 0.5744 GB, free: 41.14 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.4401, allocations: 12.61 kB / 0.5744 GB, free: 41.13 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.179e-05/0.4402, allocations: 17 kB / 0.5744 GB, free: 41.12 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002518/0.4404, allocations: 178 kB / 0.5746 GB, free: 41.02 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.4405, allocations: 4 kB / 0.5746 GB, free: 41.01 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.4405, allocations: 5.406 kB / 0.5746 GB, free: 41.01 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.4405, allocations: 2.875 kB / 0.5746 GB, free: 41.01 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002109/0.4407, allocations: 149.5 kB / 0.5748 GB, free: 40.95 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002477/0.441, allocations: 284 kB / 0.575 GB, free: 40.68 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008672/0.4418, allocations: 359.8 kB / 0.5754 GB, free: 40.52 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001638/0.442, allocations: 120.2 kB / 0.5755 GB, free: 40.46 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001328/0.4421, allocations: 89.03 kB / 0.5756 GB, free: 40.36 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.468e-05/0.4422, allocations: 39.94 kB / 0.5756 GB, free: 40.31 MB / 462.3 MB Notification: Performance of pre-optimization done (n=28): time 1.332e-06/0.4422, allocations: 0 / 0.5756 GB, free: 40.31 MB / 462.3 MB Notification: Performance of matching and sorting (n=28): time 0.0005828/0.4428, allocations: 384.5 kB / 0.576 GB, free: 40.13 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.187e-05/0.4428, allocations: 53.97 kB / 0.576 GB, free: 40.07 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.661e-05/0.4429, allocations: 132.8 kB / 0.5762 GB, free: 39.95 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.4429, allocations: 30.77 kB / 0.5762 GB, free: 39.91 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.432e-05/0.4429, allocations: 90.92 kB / 0.5763 GB, free: 39.82 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 6.922e-05/0.443, allocations: 111.8 kB / 0.5764 GB, free: 39.72 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.885e-05/0.4431, allocations: 59.88 kB / 0.5764 GB, free: 39.68 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.196e-05/0.4431, allocations: 335.9 kB / 0.5768 GB, free: 39.35 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/0.4433, allocations: 125.4 kB / 0.5769 GB, free: 39.29 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001602/0.4435, allocations: 131.3 kB / 0.577 GB, free: 39.23 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003449/0.4438, allocations: 279 kB / 0.5773 GB, free: 39.11 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4438, allocations: 1.781 kB / 0.5773 GB, free: 39.11 MB / 462.3 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004341/0.4443, allocations: 346.6 kB / 0.5776 GB, free: 38.94 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.4443, allocations: 9.438 kB / 0.5776 GB, free: 38.94 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.4443, allocations: 0 / 0.5776 GB, free: 38.94 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.4443, allocations: 1.375 kB / 0.5776 GB, free: 38.94 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002734/0.4446, allocations: 79.02 kB / 0.5777 GB, free: 38.92 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.4446, allocations: 1.375 kB / 0.5777 GB, free: 38.92 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.4447, allocations: 27.81 kB / 0.5777 GB, free: 38.89 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/0.4447, allocations: 12.25 kB / 0.5777 GB, free: 38.89 MB / 462.3 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.566e-05/0.4448, allocations: 136.7 kB / 0.5779 GB, free: 38.76 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.956e-05/0.4449, allocations: 16.09 kB / 0.5779 GB, free: 38.75 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005867/0.4455, allocations: 409.2 kB / 0.5783 GB, free: 38.52 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.4455, allocations: 4.625 kB / 0.5783 GB, free: 38.52 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4455, allocations: 0 / 0.5783 GB, free: 38.52 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.4455, allocations: 4.891 kB / 0.5783 GB, free: 38.51 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002328/0.4457, allocations: 317.1 kB / 0.5786 GB, free: 38.22 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.4457, allocations: 0.9062 kB / 0.5786 GB, free: 38.22 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003872/0.4461, allocations: 83.28 kB / 0.5787 GB, free: 38.21 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.4461, allocations: 1.844 kB / 0.5787 GB, free: 38.21 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.737e-05/0.4462, allocations: 17.52 kB / 0.5787 GB, free: 38.2 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.4462, allocations: 1.844 kB / 0.5787 GB, free: 38.2 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.4462, allocations: 0 / 0.5787 GB, free: 38.2 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006892/0.4469, allocations: 0.5225 MB / 0.5792 GB, free: 37.92 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 8.449e-05/0.447, allocations: 128.1 kB / 0.5793 GB, free: 37.79 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.77e-05/0.447, allocations: 12.62 kB / 0.5793 GB, free: 37.79 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.4471, allocations: 9.781 kB / 0.5793 GB, free: 37.78 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.082e-05/0.4472, allocations: 27.02 kB / 0.5794 GB, free: 37.76 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/0.4472, allocations: 12.28 kB / 0.5794 GB, free: 37.76 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.603e-05/0.4472, allocations: 103.9 kB / 0.5795 GB, free: 37.67 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4473, allocations: 0 / 0.5795 GB, free: 37.67 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002652/0.4475, allocations: 65.08 kB / 0.5795 GB, free: 37.66 MB / 462.3 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 0.0001139/0.4476, allocations: 126.5 kB / 0.5797 GB, free: 37.55 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0005419/0.4482, allocations: 380.3 kB / 0.58 GB, free: 37.42 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.4482, allocations: 0 / 0.58 GB, free: 37.42 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002074/0.4484, allocations: 172.8 kB / 0.5802 GB, free: 37.35 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.4487, allocations: 35.92 kB / 0.5802 GB, free: 37.33 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.4497, allocations: 0.8476 MB / 0.581 GB, free: 36.73 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001409/0.4499, allocations: 0.7524 MB / 0.5818 GB, free: 36 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001802/0.45, allocations: 90.84 kB / 0.5819 GB, free: 35.96 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.685e-05/0.4501, allocations: 30.36 kB / 0.5819 GB, free: 35.95 MB / 462.3 MB Notification: Performance of SimCode: time 2.21e-07/0.4501, allocations: 0 / 0.5819 GB, free: 35.95 MB / 462.3 MB Notification: Performance of Templates: time 0.005417/0.4556, allocations: 2.979 MB / 0.5848 GB, free: 34.51 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches