Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.conf.json 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/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 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) 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_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_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 177.1 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 221.3 MB / 235.5 MB, free: 2.957 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 90.2 kB / 286.5 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.036/1.036, allocations: 120.5 MB / 457.9 MB, free: 7.051 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.958e-05/2.978e-05, allocations: 4 kB / 0.5367 GB, free: 11.21 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6275/0.6275, allocations: 82.83 MB / 0.6176 GB, free: 9.301 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1738/0.8014, allocations: 125.8 MB / 0.7405 GB, free: 11.34 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002048/0.8017, allocations: 67.91 kB / 0.7405 GB, free: 11.27 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.02164/0.8233, allocations: 6.779 MB / 0.7471 GB, free: 4.477 MB / 0.5419 GB Notification: Performance of FrontEnd: time 3.246e-06/0.8234, allocations: 0 / 0.7471 GB, free: 4.477 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.794e-05/0.8234, allocations: 11.94 kB / 0.7471 GB, free: 4.465 MB / 0.5419 GB 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.001679/0.8251, allocations: 0.8223 MB / 0.748 GB, free: 3.598 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.8251, allocations: 8.031 kB / 0.748 GB, free: 3.59 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001142/0.8253, allocations: 55.39 kB / 0.748 GB, free: 3.535 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007374/0.826, allocations: 439.1 kB / 0.7484 GB, free: 3.066 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.782e-05/0.8261, allocations: 37 kB / 0.7485 GB, free: 3.027 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.8262, allocations: 55.81 kB / 0.7485 GB, free: 2.973 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.8272, allocations: 0.5763 MB / 0.7491 GB, free: 2.391 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.8272, allocations: 0 / 0.7491 GB, free: 2.391 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.4e-05/0.8273, allocations: 16 kB / 0.7491 GB, free: 2.375 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.8273, allocations: 12 kB / 0.7491 GB, free: 2.363 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009257/0.8282, allocations: 0.5739 MB / 0.7497 GB, free: 1.793 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000832/0.8291, allocations: 0.6177 MB / 0.7503 GB, free: 1.121 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6611/1.49, allocations: 1.33 MB / 0.7516 GB, free: 130.9 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001048/1.491, allocations: 446.1 kB / 0.752 GB, free: 130.9 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002347/1.491, allocations: 107.8 kB / 0.7521 GB, free: 130.8 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/1.492, allocations: 43.22 kB / 0.7521 GB, free: 130.7 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=103): time 3.596e-06/1.492, allocations: 0 / 0.7521 GB, free: 130.7 MB / 0.5421 GB Notification: Performance of matching and sorting (n=103): time 0.001759/1.493, allocations: 0.9584 MB / 0.7531 GB, free: 130.6 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/1.493, allocations: 62.62 kB / 0.7531 GB, free: 130.6 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/1.494, allocations: 158.6 kB / 0.7533 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 5.019e-05/1.494, allocations: 42.27 kB / 0.7533 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 4.134e-05/1.494, allocations: 107 kB / 0.7534 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002791/1.494, allocations: 402.5 kB / 0.7538 GB, free: 130.1 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.092e-05/1.494, allocations: 21.25 kB / 0.7538 GB, free: 130.1 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0001026/1.494, allocations: 368.4 kB / 0.7542 GB, free: 129.7 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008122/1.495, allocations: 474.5 kB / 0.7546 GB, free: 129.6 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000851/1.496, allocations: 496.3 kB / 0.7551 GB, free: 129.5 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009532/1.497, allocations: 0.5608 MB / 0.7557 GB, free: 129.4 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/1.497, allocations: 0 / 0.7557 GB, free: 129.4 MB / 0.5421 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002067/1.499, allocations: 1.259 MB / 0.7569 GB, free: 129 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/1.499, allocations: 6.031 kB / 0.7569 GB, free: 129 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/1.499, allocations: 2.297 kB / 0.7569 GB, free: 129 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.376e-05/1.499, allocations: 5.5 kB / 0.7569 GB, free: 129 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001643/1.501, allocations: 283.6 kB / 0.7572 GB, free: 129 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.738e-05/1.501, allocations: 5.531 kB / 0.7572 GB, free: 129 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003919/1.501, allocations: 77 kB / 0.7573 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.13e-05/1.501, allocations: 39.44 kB / 0.7573 GB, free: 128.9 MB / 0.5421 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001512/1.501, allocations: 155.7 kB / 0.7574 GB, free: 128.8 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.805e-05/1.501, allocations: 53.97 kB / 0.7575 GB, free: 128.7 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002355/1.504, allocations: 1.369 MB / 0.7588 GB, free: 128.3 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.59e-05/1.504, allocations: 14.31 kB / 0.7588 GB, free: 128.3 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.936e-06/1.504, allocations: 1.672 kB / 0.7588 GB, free: 128.3 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.688e-05/1.504, allocations: 6.969 kB / 0.7588 GB, free: 128.3 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/1.505, allocations: 0.7429 MB / 0.7596 GB, free: 127.9 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/1.505, allocations: 3.812 kB / 0.7596 GB, free: 127.9 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001958/1.507, allocations: 327.3 kB / 0.7599 GB, free: 127.9 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.762e-05/1.507, allocations: 9.766 kB / 0.7599 GB, free: 127.9 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.37e-05/1.507, allocations: 48.81 kB / 0.7599 GB, free: 127.9 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.496e-06/1.507, allocations: 4.375 kB / 0.7599 GB, free: 127.9 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/1.507, allocations: 1 kB / 0.7599 GB, free: 127.9 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00227/1.509, allocations: 1.81 MB / 0.7617 GB, free: 127.3 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003454/1.51, allocations: 249.9 kB / 0.762 GB, free: 127.1 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.643e-05/1.51, allocations: 43.17 kB / 0.762 GB, free: 127.1 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003637/1.51, allocations: 26.97 kB / 0.762 GB, free: 127.1 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/1.51, allocations: 80.47 kB / 0.7621 GB, free: 127.1 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.261e-05/1.51, allocations: 42.83 kB / 0.7621 GB, free: 127.1 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 8.183e-05/1.51, allocations: 126.5 kB / 0.7623 GB, free: 127 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.4e-07/1.51, allocations: 0 / 0.7623 GB, free: 127 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.000548/1.511, allocations: 235.7 kB / 0.7625 GB, free: 127 MB / 0.5421 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002147/1.511, allocations: 170.3 kB / 0.7626 GB, free: 126.8 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.001395/1.513, allocations: 1.145 MB / 0.7638 GB, free: 126.5 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.513, allocations: 0 / 0.7638 GB, free: 126.5 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0006569/1.513, allocations: 0.6216 MB / 0.7644 GB, free: 126.4 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/1.514, allocations: 79.89 kB / 0.7644 GB, free: 126.3 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003003/1.517, allocations: 2.832 MB / 0.7672 GB, free: 124.5 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/1.517, allocations: 0.9404 MB / 0.7681 GB, free: 123.6 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0007523/1.518, allocations: 372.3 kB / 0.7685 GB, free: 123.3 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002743/1.518, allocations: 91.17 kB / 0.7686 GB, free: 123.2 MB / 0.5421 GB Notification: Performance of SimCode: time 6.31e-07/1.518, allocations: 0 / 0.7686 GB, free: 123.2 MB / 0.5421 GB Notification: Performance of Templates: time 0.01208/1.53, allocations: 8.831 MB / 0.7772 GB, free: 115.1 MB / 0.5421 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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","../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches