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.001258/0.001258, allocations: 179 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.432/1.432, allocations: 221.3 MB / 235.5 MB, free: 2.93 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.0009077/0.0009079, allocations: 101.9 kB / 286.5 MB, free: 204 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.228/1.228, allocations: 120.5 MB / 457.9 MB, free: 7.023 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 3.612e-05/3.638e-05, allocations: 8 kB / 0.5367 GB, free: 11.19 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6862/0.6862, allocations: 82.82 MB / 0.6176 GB, free: 9.277 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1831/0.8694, allocations: 125.8 MB / 0.7405 GB, free: 11.3 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/0.8697, allocations: 59.97 kB / 0.7405 GB, free: 11.24 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.01365/0.8834, allocations: 4.065 MB / 0.7445 GB, free: 7.164 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8834, allocations: 0 / 0.7445 GB, free: 7.164 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.816e-05/0.8835, allocations: 12 kB / 0.7445 GB, free: 7.152 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.001039/0.8845, allocations: 0.5529 MB / 0.745 GB, free: 6.551 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.8846, allocations: 8.031 kB / 0.745 GB, free: 6.543 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.358e-05/0.8847, allocations: 27.67 kB / 0.7451 GB, free: 6.516 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000494/0.8852, allocations: 288.7 kB / 0.7453 GB, free: 6.195 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.8852, allocations: 16.44 kB / 0.7454 GB, free: 6.18 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.695e-05/0.8853, allocations: 35.91 kB / 0.7454 GB, free: 6.145 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005511/0.8859, allocations: 315 kB / 0.7457 GB, free: 5.828 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.8859, allocations: 0 / 0.7457 GB, free: 5.828 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.626e-05/0.8859, allocations: 12 kB / 0.7457 GB, free: 5.816 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.8859, allocations: 4 kB / 0.7457 GB, free: 5.812 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004882/0.8864, allocations: 285.5 kB / 0.746 GB, free: 5.535 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005447/0.887, allocations: 399.3 kB / 0.7464 GB, free: 5.094 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00173/0.8887, allocations: 0.6631 MB / 0.747 GB, free: 4.426 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003397/0.8891, allocations: 226.1 kB / 0.7472 GB, free: 4.203 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001898/0.8893, allocations: 105.5 kB / 0.7473 GB, free: 4.082 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.8893, allocations: 35 kB / 0.7474 GB, free: 4.039 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=53): time 2.284e-06/0.8893, allocations: 0 / 0.7474 GB, free: 4.039 MB / 0.5419 GB Notification: Performance of matching and sorting (n=53): time 0.0008653/0.8902, allocations: 0.5013 MB / 0.7479 GB, free: 3.523 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/0.8903, allocations: 59.84 kB / 0.7479 GB, free: 3.453 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.8904, allocations: 129 kB / 0.748 GB, free: 3.316 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 3.91e-05/0.8905, allocations: 33.7 kB / 0.7481 GB, free: 3.277 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 5.362e-05/0.8905, allocations: 101.1 kB / 0.7482 GB, free: 3.176 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001832/0.8907, allocations: 212.9 kB / 0.7484 GB, free: 2.965 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.858e-05/0.8907, allocations: 12 kB / 0.7484 GB, free: 2.953 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.8909, allocations: 338.8 kB / 0.7487 GB, free: 2.613 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000383/0.8913, allocations: 245.4 kB / 0.7489 GB, free: 2.375 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004016/0.8917, allocations: 246.9 kB / 0.7492 GB, free: 2.133 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004482/0.8921, allocations: 297.9 kB / 0.7495 GB, free: 1.844 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.8922, allocations: 0 / 0.7495 GB, free: 1.844 MB / 0.5419 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008973/0.8931, allocations: 0.6443 MB / 0.7501 GB, free: 1.191 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.8931, allocations: 12 kB / 0.7501 GB, free: 1.18 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.8931, allocations: 0 / 0.7501 GB, free: 1.18 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.8931, allocations: 0 / 0.7501 GB, free: 1.18 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006897/0.8938, allocations: 151.7 kB / 0.7502 GB, free: 1.031 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.473e-05/0.8938, allocations: 7.953 kB / 0.7502 GB, free: 1.023 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002137/0.8941, allocations: 39.58 kB / 0.7503 GB, free: 0.9844 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.025e-05/0.8941, allocations: 20 kB / 0.7503 GB, free: 0.9648 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.000126/0.8942, allocations: 132.9 kB / 0.7504 GB, free: 0.8281 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.383e-05/0.8943, allocations: 27.72 kB / 0.7505 GB, free: 0.8008 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/0.8956, allocations: 0.7191 MB / 0.7512 GB, free: 80 kB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.8956, allocations: 8 kB / 0.7512 GB, free: 72 kB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.8956, allocations: 0 / 0.7512 GB, free: 72 kB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.8956, allocations: 7.938 kB / 0.7512 GB, free: 64 kB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.756/1.652, allocations: 454.9 kB / 0.7516 GB, free: 132.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.365e-06/1.652, allocations: 3.938 kB / 0.7516 GB, free: 132.5 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001989/1.654, allocations: 165 kB / 0.7518 GB, free: 132.5 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.122e-05/1.654, allocations: 2.844 kB / 0.7518 GB, free: 132.5 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001164/1.654, allocations: 24.59 kB / 0.7518 GB, free: 132.5 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.095e-05/1.654, allocations: 2.812 kB / 0.7518 GB, free: 132.5 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/1.654, allocations: 1.422 kB / 0.7518 GB, free: 132.5 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003092/1.657, allocations: 0.9556 MB / 0.7527 GB, free: 132.4 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004036/1.657, allocations: 171.5 kB / 0.7529 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/1.658, allocations: 22.77 kB / 0.7529 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004027/1.658, allocations: 9.719 kB / 0.7529 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000179/1.658, allocations: 44.95 kB / 0.753 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/1.658, allocations: 19.92 kB / 0.753 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.0001486/1.659, allocations: 119.6 kB / 0.7531 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of sort global known variables: time 4.11e-07/1.659, allocations: 0 / 0.7531 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.000767/1.659, allocations: 127.4 kB / 0.7532 GB, free: 132.2 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.0003854/1.66, allocations: 135.9 kB / 0.7534 GB, free: 132.1 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.002044/1.662, allocations: 0.5811 MB / 0.7539 GB, free: 132.1 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/1.662, allocations: 1.469 kB / 0.7539 GB, free: 132.1 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.001049/1.663, allocations: 326.3 kB / 0.7542 GB, free: 132 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005564/1.663, allocations: 42.58 kB / 0.7543 GB, free: 132 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004171/1.668, allocations: 1.479 MB / 0.7557 GB, free: 131.3 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005605/1.668, allocations: 0.8191 MB / 0.7565 GB, free: 130.6 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.001022/1.669, allocations: 181.1 kB / 0.7567 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003263/1.67, allocations: 50.36 kB / 0.7567 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of SimCode: time 8.52e-07/1.67, allocations: 1 kB / 0.7567 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of Templates: time 0.02058/1.69, allocations: 4.725 MB / 0.7614 GB, free: 129.9 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/jenkins1/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