Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.00107/0.00107, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 221.5 MB / 230.3 MB, free: 7.555 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.001187/0.001187, allocations: 100.6 kB / 281.2 MB, free: 5.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.073/1.073, allocations: 120.5 MB / 452.4 MB, free: 10.5 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.252e-05/1.248e-05, allocations: 0 / 0.5295 GB, free: 0.5312 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7034/0.7035, allocations: 82.83 MB / 0.6104 GB, free: 13.05 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1879/0.8914, allocations: 125.2 MB / 0.7327 GB, free: 15.74 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/0.8918, allocations: 59.97 kB / 0.7327 GB, free: 15.68 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.01786/0.9097, allocations: 4.057 MB / 0.7367 GB, free: 11.61 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.834e-06/0.9097, allocations: 0 / 0.7367 GB, free: 11.61 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.565e-05/0.9098, allocations: 4 kB / 0.7367 GB, free: 11.61 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.001285/0.911, allocations: 0.5568 MB / 0.7372 GB, free: 11 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.9111, allocations: 12.03 kB / 0.7372 GB, free: 10.99 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.986e-05/0.9112, allocations: 31.67 kB / 0.7373 GB, free: 10.96 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006063/0.9118, allocations: 287.6 kB / 0.7375 GB, free: 10.64 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.9119, allocations: 4 kB / 0.7376 GB, free: 10.64 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.345e-05/0.912, allocations: 19.91 kB / 0.7376 GB, free: 10.62 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006611/0.9126, allocations: 280.7 kB / 0.7378 GB, free: 10.34 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006734/0.9133, allocations: 286.2 kB / 0.7381 GB, free: 10.06 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.9134, allocations: 0 / 0.7381 GB, free: 10.06 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.173e-05/0.9134, allocations: 4 kB / 0.7381 GB, free: 10.05 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.9134, allocations: 11.89 kB / 0.7381 GB, free: 10.04 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006454/0.9141, allocations: 339 kB / 0.7385 GB, free: 9.676 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002424/0.9165, allocations: 0.6417 MB / 0.7391 GB, free: 9.027 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000468/0.917, allocations: 214.1 kB / 0.7393 GB, free: 8.812 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002389/0.9173, allocations: 93.52 kB / 0.7394 GB, free: 8.703 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/0.9173, allocations: 43 kB / 0.7394 GB, free: 8.648 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=53): time 2.435e-06/0.9173, allocations: 0 / 0.7394 GB, free: 8.648 MB / 0.5419 GB Notification: Performance of matching and sorting (n=53): time 0.002197/0.9195, allocations: 0.568 MB / 0.74 GB, free: 8.07 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.9196, allocations: 59.78 kB / 0.74 GB, free: 8 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.9198, allocations: 128.8 kB / 0.7401 GB, free: 7.863 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 4.407e-05/0.9198, allocations: 25.7 kB / 0.7402 GB, free: 7.832 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 6.958e-05/0.9199, allocations: 101.4 kB / 0.7403 GB, free: 7.73 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002239/0.9201, allocations: 205 kB / 0.7405 GB, free: 7.527 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.826e-05/0.9202, allocations: 0 / 0.7405 GB, free: 7.527 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.9203, allocations: 346.8 kB / 0.7408 GB, free: 7.18 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00049/0.9208, allocations: 229.4 kB / 0.741 GB, free: 6.957 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005063/0.9214, allocations: 233.3 kB / 0.7412 GB, free: 6.727 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001538/0.9229, allocations: 380.2 kB / 0.7416 GB, free: 6.355 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.9229, allocations: 0 / 0.7416 GB, free: 6.355 MB / 0.5419 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002413/0.9254, allocations: 0.7106 MB / 0.7423 GB, free: 5.641 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.9254, allocations: 8 kB / 0.7423 GB, free: 5.633 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.9254, allocations: 0 / 0.7423 GB, free: 5.633 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.9254, allocations: 4 kB / 0.7423 GB, free: 5.629 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/0.9266, allocations: 147.8 kB / 0.7424 GB, free: 5.484 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/0.9266, allocations: 4 kB / 0.7424 GB, free: 5.48 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003211/0.9269, allocations: 23.59 kB / 0.7425 GB, free: 5.457 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.626e-05/0.927, allocations: 23.98 kB / 0.7425 GB, free: 5.434 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.0001535/0.9272, allocations: 116.8 kB / 0.7426 GB, free: 5.312 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.608e-05/0.9273, allocations: 27.72 kB / 0.7426 GB, free: 5.285 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002602/0.9299, allocations: 0.7659 MB / 0.7434 GB, free: 4.508 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/0.9299, allocations: 11.98 kB / 0.7434 GB, free: 4.496 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.9299, allocations: 7.938 kB / 0.7434 GB, free: 4.488 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.93, allocations: 3.984 kB / 0.7434 GB, free: 4.484 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007025/0.9307, allocations: 410.2 kB / 0.7438 GB, free: 4.047 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.9307, allocations: 0 / 0.7438 GB, free: 4.047 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0015/0.9322, allocations: 159.8 kB / 0.7439 GB, free: 3.891 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.037e-06/0.9322, allocations: 4 kB / 0.744 GB, free: 3.887 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.889e-05/0.9323, allocations: 19.98 kB / 0.744 GB, free: 3.867 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/0.9323, allocations: 0 / 0.744 GB, free: 3.867 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.9323, allocations: 3.938 kB / 0.744 GB, free: 3.863 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0029/0.9353, allocations: 1.01 MB / 0.745 GB, free: 2.836 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002836/0.9355, allocations: 164.5 kB / 0.7451 GB, free: 2.656 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.194e-05/0.9357, allocations: 7.984 kB / 0.7451 GB, free: 2.648 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002832/0.9359, allocations: 4 kB / 0.7451 GB, free: 2.645 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.9361, allocations: 44.72 kB / 0.7452 GB, free: 2.602 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.233e-05/0.9361, allocations: 19.98 kB / 0.7452 GB, free: 2.582 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 0.0001148/0.9363, allocations: 107 kB / 0.7453 GB, free: 2.48 MB / 0.5419 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9363, allocations: 4 kB / 0.7453 GB, free: 2.477 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0005632/0.9369, allocations: 103.9 kB / 0.7454 GB, free: 2.375 MB / 0.5419 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.0002863/0.9372, allocations: 129.1 kB / 0.7455 GB, free: 2.242 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.001168/0.9383, allocations: 0.5517 MB / 0.7461 GB, free: 1.688 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.9384, allocations: 0 / 0.7461 GB, free: 1.688 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005893/0.9389, allocations: 310.8 kB / 0.7464 GB, free: 1.387 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/0.9394, allocations: 31.92 kB / 0.7464 GB, free: 1.355 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.678/1.617, allocations: 1.43 MB / 0.7478 GB, free: 135.7 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/1.618, allocations: 0.8117 MB / 0.7486 GB, free: 135 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0005951/1.618, allocations: 184.2 kB / 0.7487 GB, free: 135 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/1.618, allocations: 50.23 kB / 0.7488 GB, free: 135 MB / 0.5421 GB Notification: Performance of SimCode: time 1.623e-06/1.619, allocations: 0.875 kB / 0.7488 GB, free: 135 MB / 0.5421 GB Notification: Performance of Templates: time 0.009255/1.628, allocations: 4.578 MB / 0.7533 GB, free: 134.8 MB / 0.5421 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches