Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.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_10,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.10.|Qh.1.|Qh.2.|Qh.3.|Que.10.|Que.1.|Que.2.|Que.3.|Tu.10.|Tu.1.|Tu.2.|Tu.3.|der.Tu.10..|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.x.10..|der.x.1..|der.x.2..|der.x.3..|time|time|u.10.|u.1.|u.2.|u.3.|x.10.|x.1.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.10.|Qh.1.|Qh.2.|Qh.3.|Que.10.|Que.1.|Que.2.|Que.3.|Tu.10.|Tu.1.|Tu.2.|Tu.3.|der.Tu.10..|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.x.10..|der.x.1..|der.x.2..|der.x.3..|time|time|u.10.|u.1.|u.2.|u.3.|x.10.|x.1.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 179.5 kB / 13.63 MB, free: 1.684 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.236/1.236, allocations: 221.3 MB / 235.5 MB, free: 2.922 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.000939/0.0009389, allocations: 97.84 kB / 286.5 MB, free: 216 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9173/0.9173, allocations: 120.5 MB / 457.8 MB, free: 7.051 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.914e-05/2.921e-05, allocations: 4 kB / 0.5367 GB, free: 11.21 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5668/0.5669, allocations: 82.83 MB / 0.6176 GB, free: 9.273 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1588/0.7257, allocations: 125.8 MB / 0.7405 GB, free: 11.3 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002037/0.7259, allocations: 59.91 kB / 0.7405 GB, free: 11.25 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.01243/0.7384, allocations: 4.084 MB / 0.7445 GB, free: 7.152 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.293e-06/0.7384, allocations: 0 / 0.7445 GB, free: 7.152 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.207e-05/0.7384, allocations: 4 kB / 0.7445 GB, free: 7.148 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009066/0.7393, allocations: 0.549 MB / 0.745 GB, free: 6.551 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.7394, allocations: 8.031 kB / 0.745 GB, free: 6.543 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.422e-05/0.7395, allocations: 31.67 kB / 0.7451 GB, free: 6.512 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004119/0.7399, allocations: 290.7 kB / 0.7454 GB, free: 6.191 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.7399, allocations: 16.44 kB / 0.7454 GB, free: 6.176 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.437e-05/0.74, allocations: 31.91 kB / 0.7454 GB, free: 6.145 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004997/0.7405, allocations: 307.1 kB / 0.7457 GB, free: 5.836 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.7405, allocations: 0 / 0.7457 GB, free: 5.836 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.323e-05/0.7405, allocations: 12 kB / 0.7457 GB, free: 5.824 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.839e-06/0.7406, allocations: 7.984 kB / 0.7457 GB, free: 5.816 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004278/0.741, allocations: 289.5 kB / 0.746 GB, free: 5.535 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004868/0.7415, allocations: 395.2 kB / 0.7464 GB, free: 5.098 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001652/0.7431, allocations: 0.6705 MB / 0.747 GB, free: 4.422 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003157/0.7435, allocations: 226.1 kB / 0.7472 GB, free: 4.199 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001742/0.7437, allocations: 97.52 kB / 0.7473 GB, free: 4.086 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.7437, allocations: 39 kB / 0.7474 GB, free: 4.039 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=53): time 1.733e-06/0.7437, allocations: 0 / 0.7474 GB, free: 4.039 MB / 0.5419 GB Notification: Performance of matching and sorting (n=53): time 0.000804/0.7445, allocations: 0.5016 MB / 0.7479 GB, free: 3.523 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.7446, allocations: 55.84 kB / 0.7479 GB, free: 3.457 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.7447, allocations: 134.1 kB / 0.748 GB, free: 3.312 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 3.488e-05/0.7447, allocations: 33.7 kB / 0.7481 GB, free: 3.273 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 4.462e-05/0.7448, allocations: 97.14 kB / 0.7482 GB, free: 3.176 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/0.7449, allocations: 212.9 kB / 0.7484 GB, free: 2.965 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.614e-05/0.745, allocations: 8 kB / 0.7484 GB, free: 2.957 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.7451, allocations: 342.8 kB / 0.7487 GB, free: 2.613 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003436/0.7454, allocations: 249.4 kB / 0.7489 GB, free: 2.371 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003362/0.7458, allocations: 246.9 kB / 0.7492 GB, free: 2.129 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003942/0.7462, allocations: 289.9 kB / 0.7494 GB, free: 1.848 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.7462, allocations: 4 kB / 0.7495 GB, free: 1.844 MB / 0.5419 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00091/0.7471, allocations: 0.6483 MB / 0.7501 GB, free: 1.188 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.7471, allocations: 7.938 kB / 0.7501 GB, free: 1.18 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.7471, allocations: 0 / 0.7501 GB, free: 1.18 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.7472, allocations: 4 kB / 0.7501 GB, free: 1.176 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006709/0.7478, allocations: 143.8 kB / 0.7502 GB, free: 1.035 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.492e-05/0.7479, allocations: 7.953 kB / 0.7502 GB, free: 1.027 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002005/0.7481, allocations: 39.59 kB / 0.7503 GB, free: 0.9883 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.868e-05/0.7481, allocations: 16 kB / 0.7503 GB, free: 0.9727 MB / 0.5419 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 (74): * Single equations (assignments): 74 * 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.0001102/0.7482, allocations: 136.9 kB / 0.7504 GB, free: 0.832 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.254e-05/0.7483, allocations: 31.7 kB / 0.7505 GB, free: 0.8008 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001143/0.7494, allocations: 0.7152 MB / 0.7512 GB, free: 84 kB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.7495, allocations: 12 kB / 0.7512 GB, free: 72 kB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.7495, allocations: 0 / 0.7512 GB, free: 72 kB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/0.7495, allocations: 11.94 kB / 0.7512 GB, free: 60 kB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5802/1.33, allocations: 454.1 kB / 0.7516 GB, free: 132.4 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/1.33, allocations: 4.312 kB / 0.7516 GB, free: 132.4 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/1.331, allocations: 163.4 kB / 0.7518 GB, free: 132.4 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.488e-05/1.331, allocations: 4.125 kB / 0.7518 GB, free: 132.4 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-05/1.331, allocations: 24.77 kB / 0.7518 GB, free: 132.4 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.098e-06/1.331, allocations: 2.594 kB / 0.7518 GB, free: 132.4 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/1.331, allocations: 0 / 0.7518 GB, free: 132.4 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001719/1.333, allocations: 0.9592 MB / 0.7527 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002487/1.333, allocations: 166 kB / 0.7529 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.022e-05/1.333, allocations: 23.31 kB / 0.7529 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/1.333, allocations: 10.36 kB / 0.7529 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/1.333, allocations: 44.3 kB / 0.753 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.541e-05/1.333, allocations: 23.91 kB / 0.753 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 8.257e-05/1.334, allocations: 119.3 kB / 0.7531 GB, free: 132.1 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.4e-07/1.334, allocations: 0 / 0.7531 GB, free: 132.1 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0004177/1.334, allocations: 127.8 kB / 0.7532 GB, free: 132.1 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 21 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * 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.0002202/1.334, allocations: 131.4 kB / 0.7534 GB, free: 132 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.001088/1.335, allocations: 0.5811 MB / 0.7539 GB, free: 132 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/1.335, allocations: 1.188 kB / 0.7539 GB, free: 132 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0004856/1.336, allocations: 319.6 kB / 0.7542 GB, free: 131.9 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/1.336, allocations: 54.78 kB / 0.7543 GB, free: 131.9 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002234/1.338, allocations: 1.474 MB / 0.7557 GB, free: 131.2 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/1.339, allocations: 0.8188 MB / 0.7565 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0004962/1.339, allocations: 184 kB / 0.7567 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001727/1.339, allocations: 50.08 kB / 0.7567 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of SimCode: time 6.51e-07/1.339, allocations: 0 / 0.7567 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of Templates: time 0.009193/1.349, allocations: 4.727 MB / 0.7614 GB, free: 129.8 MB / 0.5421 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches