Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.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_20,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.20.|Qh.2.|Qh.3.|Que.1.|Que.20.|Que.2.|Que.3.|Tu.1.|Tu.20.|Tu.2.|Tu.3.|der.Tu.1..|der.Tu.20..|der.Tu.2..|der.Tu.3..|der.x.1..|der.x.20..|der.x.2..|der.x.3..|time|time|u.1.|u.20.|u.2.|u.3.|x.1.|x.20.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.20.|Qh.2.|Qh.3.|Que.1.|Que.20.|Que.2.|Que.3.|Tu.1.|Tu.20.|Tu.2.|Tu.3.|der.Tu.1..|der.Tu.20..|der.Tu.2..|der.Tu.3..|der.x.1..|der.x.20..|der.x.2..|der.x.3..|time|time|u.1.|u.20.|u.2.|u.3.|x.1.|x.20.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 106.2 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.001106/0.001106, allocations: 191.5 kB / 17.85 MB, free: 5.309 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.2/1.2, 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.8022/0.8022, allocations: 119.3 MB / 411 MB, free: 9.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 59.89 kB / 0.4923 GB, free: 12.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4068/0.4081, allocations: 80.69 MB / 0.5711 GB, free: 43.77 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.001913/0.41, allocations: 1.38 MB / 0.5725 GB, free: 42.67 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006031/0.4106, allocations: 0.5096 MB / 0.5729 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.441e-05/0.4107, allocations: 4 kB / 0.573 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 6.311e-05/0.4108, allocations: 8.953 kB / 0.573 GB, free: 42.26 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002246/0.411, allocations: 50.59 kB / 0.573 GB, free: 42.23 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 8.449e-05/0.4111, allocations: 41.53 kB / 0.573 GB, free: 42.2 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003308/0.4114, allocations: 0.5453 MB / 0.5736 GB, free: 41.91 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.369e-05/0.4115, allocations: 9.703 kB / 0.5736 GB, free: 41.9 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001643/0.4116, allocations: 195.5 kB / 0.5738 GB, free: 41.82 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002793/0.4119, allocations: 288.4 kB / 0.5741 GB, free: 41.65 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 7.03e-05/0.412, allocations: 33.12 kB / 0.5741 GB, free: 41.64 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.4121, allocations: 49.39 kB / 0.5741 GB, free: 41.64 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001796/0.4123, allocations: 237.6 kB / 0.5744 GB, free: 41.5 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001871/0.4125, allocations: 239.8 kB / 0.5746 GB, free: 41.35 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002957/0.4128, allocations: 435.5 kB / 0.575 GB, free: 41.1 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.4128, allocations: 0.9062 kB / 0.575 GB, free: 41.1 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.342e-06/0.4128, allocations: 0 / 0.575 GB, free: 41.1 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.4128, allocations: 0 / 0.575 GB, free: 41.1 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001403/0.4143, allocations: 0.8211 MB / 0.5758 GB, free: 40.48 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 2.841e-05/0.4143, allocations: 12.7 kB / 0.5758 GB, free: 40.47 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/0.4144, allocations: 48.22 kB / 0.5759 GB, free: 40.45 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002926/0.4147, allocations: 328.3 kB / 0.5762 GB, free: 40.15 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.4147, allocations: 33.28 kB / 0.5762 GB, free: 40.13 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.729e-05/0.4148, allocations: 60.33 kB / 0.5763 GB, free: 40.1 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007038/0.4155, allocations: 0.5857 MB / 0.5768 GB, free: 39.77 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.4155, allocations: 1.375 kB / 0.5768 GB, free: 39.77 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.804e-05/0.4156, allocations: 18.69 kB / 0.5769 GB, free: 39.75 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.495e-06/0.4156, allocations: 9.625 kB / 0.5769 GB, free: 39.75 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007176/0.4163, allocations: 0.5863 MB / 0.5774 GB, free: 39.52 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006218/0.417, allocations: 0.6187 MB / 0.578 GB, free: 39.05 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002795/0.4198, allocations: 1.364 MB / 0.5794 GB, free: 38.45 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005145/0.4203, allocations: 452 kB / 0.5798 GB, free: 38.25 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000158/0.4205, allocations: 111.9 kB / 0.5799 GB, free: 38.13 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.556e-05/0.4205, allocations: 43.34 kB / 0.58 GB, free: 38.09 MB / 462.3 MB Notification: Performance of pre-optimization done (n=103): time 2.174e-06/0.4205, allocations: 0 / 0.58 GB, free: 38.09 MB / 462.3 MB Notification: Performance of matching and sorting (n=103): time 0.001801/0.4223, allocations: 1.351 MB / 0.5813 GB, free: 37.48 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.4223, allocations: 66.09 kB / 0.5813 GB, free: 37.42 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.4224, allocations: 172.1 kB / 0.5815 GB, free: 37.29 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.084e-05/0.4225, allocations: 41.11 kB / 0.5815 GB, free: 37.24 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.23e-05/0.4225, allocations: 112 kB / 0.5816 GB, free: 37.14 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001831/0.4227, allocations: 399.8 kB / 0.582 GB, free: 36.79 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002173/0.4229, allocations: 194.8 kB / 0.5822 GB, free: 36.68 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.23e-05/0.423, allocations: 374.9 kB / 0.5826 GB, free: 36.32 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005805/0.4236, allocations: 467.6 kB / 0.583 GB, free: 36.12 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005929/0.4242, allocations: 492.8 kB / 0.5835 GB, free: 35.9 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001238/0.4254, allocations: 1.043 MB / 0.5845 GB, free: 35.42 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.4254, allocations: 0 / 0.5845 GB, free: 35.42 MB / 462.3 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001351/0.4268, allocations: 1.246 MB / 0.5857 GB, free: 34.29 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.4268, allocations: 7.984 kB / 0.5857 GB, free: 34.28 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.4268, allocations: 0 / 0.5857 GB, free: 34.28 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.4268, allocations: 8 kB / 0.5857 GB, free: 34.27 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008478/0.4277, allocations: 267.6 kB / 0.586 GB, free: 34.01 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.557e-06/0.4277, allocations: 8 kB / 0.586 GB, free: 34 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003177/0.428, allocations: 79.06 kB / 0.5861 GB, free: 33.92 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.359e-05/0.4281, allocations: 47.98 kB / 0.5861 GB, free: 33.88 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 (144): * Single equations (assignments): 144 * 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 0.0001653/0.4283, allocations: 213.5 kB / 0.5863 GB, free: 33.66 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.491e-05/0.4283, allocations: 39.53 kB / 0.5864 GB, free: 33.62 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001657/0.43, allocations: 1.392 MB / 0.5877 GB, free: 32.21 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.43, allocations: 16 kB / 0.5877 GB, free: 32.2 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.43, allocations: 0 / 0.5877 GB, free: 32.2 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.43, allocations: 7.969 kB / 0.5877 GB, free: 32.19 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005883/0.4306, allocations: 0.7477 MB / 0.5885 GB, free: 31.39 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.4306, allocations: 0 / 0.5885 GB, free: 31.39 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/0.4318, allocations: 307.6 kB / 0.5888 GB, free: 31.09 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.4318, allocations: 4 kB / 0.5888 GB, free: 31.09 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.73e-05/0.4319, allocations: 43.97 kB / 0.5888 GB, free: 31.05 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.4319, allocations: 8 kB / 0.5888 GB, free: 31.04 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4319, allocations: 0 / 0.5888 GB, free: 31.04 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001858/0.4338, allocations: 1.858 MB / 0.5906 GB, free: 29.16 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002208/0.434, allocations: 252 kB / 0.5909 GB, free: 28.9 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.394e-05/0.4341, allocations: 39.97 kB / 0.5909 GB, free: 28.86 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003103/0.4344, allocations: 24 kB / 0.5909 GB, free: 28.84 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.4345, allocations: 89.12 kB / 0.591 GB, free: 28.75 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.378e-05/0.4346, allocations: 39.98 kB / 0.5911 GB, free: 28.71 MB / 462.3 MB Notification: Performance of sorting global known variables: time 5.977e-05/0.4347, allocations: 132.3 kB / 0.5912 GB, free: 28.58 MB / 462.3 MB Notification: Performance of sort global known variables: time 2e-07/0.4347, allocations: 4 kB / 0.5912 GB, free: 28.57 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003914/0.4351, allocations: 232 kB / 0.5914 GB, free: 28.35 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 41 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],Tu[11],Tu[12],Tu[13],Tu[14],Tu[15],Tu[16],Tu[17],Tu[18],Tu[19],Tu[20],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14],x[15],x[16],x[17],x[18],x[19],x[20]) * 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 (144): * Single equations (assignments): 144 * 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.0001856/0.4353, allocations: 155 kB / 0.5916 GB, free: 28.19 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.002405/0.4377, allocations: 2.092 MB / 0.5936 GB, free: 26.09 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4377, allocations: 0 / 0.5936 GB, free: 26.09 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0005965/0.4383, allocations: 0.6358 MB / 0.5942 GB, free: 25.46 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003971/0.4387, allocations: 104 kB / 0.5943 GB, free: 25.36 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002799/0.4415, allocations: 2.832 MB / 0.5971 GB, free: 22.5 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002145/0.4417, allocations: 0.9275 MB / 0.598 GB, free: 21.54 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0006095/0.4423, allocations: 372.8 kB / 0.5983 GB, free: 21.18 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002395/0.4426, allocations: 91.41 kB / 0.5984 GB, free: 21.09 MB / 462.3 MB Notification: Performance of SimCode: time 2.21e-07/0.4426, allocations: 0 / 0.5984 GB, free: 21.09 MB / 462.3 MB Notification: Performance of Templates: time 0.01105/0.4537, allocations: 9.758 MB / 0.608 GB, free: 11.39 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches