Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.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_5,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.5.|Que.1.|Que.2.|Que.3.|Que.5.|Tu.1.|Tu.2.|Tu.3.|Tu.5.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.5..|der.x.1..|der.x.2..|der.x.3..|der.x.5..|time|time|u.1.|u.2.|u.3.|u.5.|x.1.|x.2.|x.3.|x.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.5.|Que.1.|Que.2.|Que.3.|Que.5.|Tu.1.|Tu.2.|Tu.3.|Tu.5.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.5..|der.x.1..|der.x.2..|der.x.3..|der.x.5..|time|time|u.1.|u.2.|u.3.|u.5.|x.1.|x.2.|x.3.|x.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 179.3 kB / 16.38 MB, free: 5.766 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.254/1.254, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008504/0.0008504, allocations: 103.1 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8438/0.8438, allocations: 120.5 MB / 463 MB, free: 8.727 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003214/0.0003214, allocations: 12 kB / 0.5446 GB, free: 41.19 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1418, allocations: 82.85 MB / 0.6255 GB, free: 7.906 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.767/0.9088, allocations: 125.9 MB / 0.7485 GB, free: 8.215 MB / 0.5106 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001981/0.9091, allocations: 62.47 kB / 0.7486 GB, free: 8.184 MB / 0.5106 GB Notification: Performance of FrontEnd - DAE generated: time 0.008864/0.918, allocations: 2.769 MB / 0.7513 GB, free: 5.723 MB / 0.5106 GB Notification: Performance of FrontEnd: time 1.533e-06/0.918, allocations: 3.938 kB / 0.7513 GB, free: 5.719 MB / 0.5106 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.918, allocations: 4 kB / 0.7513 GB, free: 5.715 MB / 0.5106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006719/0.9187, allocations: 466.3 kB / 0.7517 GB, free: 5.219 MB / 0.5106 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.9188, allocations: 12.03 kB / 0.7517 GB, free: 5.207 MB / 0.5106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.352e-05/0.9188, allocations: 19.77 kB / 0.7517 GB, free: 5.188 MB / 0.5106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003166/0.9191, allocations: 226.6 kB / 0.752 GB, free: 4.93 MB / 0.5106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.9192, allocations: 8.172 kB / 0.752 GB, free: 4.926 MB / 0.5106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.086e-05/0.9192, allocations: 23.8 kB / 0.752 GB, free: 4.91 MB / 0.5106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003025/0.9195, allocations: 178.3 kB / 0.7522 GB, free: 4.762 MB / 0.5106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.9195, allocations: 0 / 0.7522 GB, free: 4.762 MB / 0.5106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.9196, allocations: 7.922 kB / 0.7522 GB, free: 4.758 MB / 0.5106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.9196, allocations: 7.953 kB / 0.7522 GB, free: 4.75 MB / 0.5106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002413/0.9198, allocations: 148.5 kB / 0.7523 GB, free: 4.637 MB / 0.5106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003252/0.9202, allocations: 276.3 kB / 0.7526 GB, free: 4.352 MB / 0.5106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009244/0.9211, allocations: 359.5 kB / 0.7529 GB, free: 4.062 MB / 0.5106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001641/0.9213, allocations: 89.09 kB / 0.753 GB, free: 3.957 MB / 0.5106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.9213, allocations: 38 kB / 0.753 GB, free: 3.914 MB / 0.5106 GB Notification: Performance of pre-optimization done (n=28): time 1.333e-06/0.9213, allocations: 3.938 kB / 0.753 GB, free: 3.91 MB / 0.5106 GB Notification: Performance of matching and sorting (n=28): time 0.0006345/0.922, allocations: 369.3 kB / 0.7534 GB, free: 3.621 MB / 0.5106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.922, allocations: 59.41 kB / 0.7535 GB, free: 3.551 MB / 0.5106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.863e-05/0.9221, allocations: 127.8 kB / 0.7536 GB, free: 3.426 MB / 0.5106 GB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.9221, allocations: 29.33 kB / 0.7536 GB, free: 3.395 MB / 0.5106 GB Notification: Performance of collectInitialEqns (initialization): time 4.225e-05/0.9222, allocations: 92.14 kB / 0.7537 GB, free: 3.309 MB / 0.5106 GB Notification: Performance of collectInitialBindings (initialization): time 9.312e-05/0.9223, allocations: 107.5 kB / 0.7538 GB, free: 3.219 MB / 0.5106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.395e-05/0.9223, allocations: 7.75 kB / 0.7538 GB, free: 3.215 MB / 0.5106 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.9224, allocations: 329.8 kB / 0.7541 GB, free: 2.891 MB / 0.5106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.9226, allocations: 120.8 kB / 0.7542 GB, free: 2.801 MB / 0.5106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/0.9228, allocations: 128.2 kB / 0.7544 GB, free: 2.703 MB / 0.5106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002018/0.923, allocations: 146 kB / 0.7545 GB, free: 2.605 MB / 0.5106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.923, allocations: 0 / 0.7545 GB, free: 2.605 MB / 0.5106 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004665/0.9235, allocations: 353.6 kB / 0.7548 GB, free: 2.332 MB / 0.5106 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.9235, allocations: 8.609 kB / 0.7548 GB, free: 2.324 MB / 0.5106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.9235, allocations: 0 / 0.7548 GB, free: 2.324 MB / 0.5106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.9236, allocations: 4 kB / 0.7548 GB, free: 2.32 MB / 0.5106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003722/0.9239, allocations: 75.53 kB / 0.7549 GB, free: 2.25 MB / 0.5106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.924, allocations: 3.984 kB / 0.7549 GB, free: 2.246 MB / 0.5106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.9241, allocations: 19.28 kB / 0.7549 GB, free: 2.23 MB / 0.5106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.456e-05/0.9241, allocations: 18.7 kB / 0.755 GB, free: 2.215 MB / 0.5106 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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.000124/0.9242, allocations: 136.4 kB / 0.7551 GB, free: 2.082 MB / 0.5106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.826e-05/0.9243, allocations: 15.81 kB / 0.7551 GB, free: 2.066 MB / 0.5106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006592/0.9249, allocations: 400.1 kB / 0.7555 GB, free: 1.766 MB / 0.5106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.925, allocations: 4 kB / 0.7555 GB, free: 1.762 MB / 0.5106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.925, allocations: 0 / 0.7555 GB, free: 1.762 MB / 0.5106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.925, allocations: 7.984 kB / 0.7555 GB, free: 1.754 MB / 0.5106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003012/0.9253, allocations: 322.4 kB / 0.7558 GB, free: 1.43 MB / 0.5106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.9253, allocations: 0 / 0.7558 GB, free: 1.43 MB / 0.5106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004808/0.9258, allocations: 87.77 kB / 0.7559 GB, free: 1.348 MB / 0.5106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.9258, allocations: 0 / 0.7559 GB, free: 1.348 MB / 0.5106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.915e-05/0.9258, allocations: 23.86 kB / 0.7559 GB, free: 1.328 MB / 0.5106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.9258, allocations: 0 / 0.7559 GB, free: 1.328 MB / 0.5106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.9258, allocations: 0 / 0.7559 GB, free: 1.328 MB / 0.5106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000734/0.9266, allocations: 0.525 MB / 0.7564 GB, free: 0.9023 MB / 0.5106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001404/0.9267, allocations: 124.8 kB / 0.7565 GB, free: 0.7617 MB / 0.5106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.272e-05/0.9268, allocations: 19.67 kB / 0.7566 GB, free: 0.75 MB / 0.5106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.9269, allocations: 7.5 kB / 0.7566 GB, free: 0.7461 MB / 0.5106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/0.927, allocations: 23.47 kB / 0.7566 GB, free: 0.7266 MB / 0.5106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/0.927, allocations: 12.88 kB / 0.7566 GB, free: 0.7148 MB / 0.5106 GB Notification: Performance of sorting global known variables: time 7.583e-05/0.9271, allocations: 107.3 kB / 0.7567 GB, free: 0.6172 MB / 0.5106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9271, allocations: 0 / 0.7567 GB, free: 0.6172 MB / 0.5106 GB Notification: Performance of remove unused functions: time 0.0002967/0.9274, allocations: 70.75 kB / 0.7568 GB, free: 0.5586 MB / 0.5106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],x[1],x[2],x[3],x[4],x[5]) * 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 (39): * Single equations (assignments): 39 * 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.0001755/0.9276, allocations: 120.4 kB / 0.7569 GB, free: 448 kB / 0.5106 GB Notification: Performance of simCode: created initialization part: time 0.0004955/0.9281, allocations: 299.5 kB / 0.7572 GB, free: 216 kB / 0.5106 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.9281, allocations: 0 / 0.7572 GB, free: 216 kB / 0.5106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002255/0.9283, allocations: 170.7 kB / 0.7573 GB, free: 80 kB / 0.5106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.9286, allocations: 32.45 kB / 0.7574 GB, free: 60 kB / 0.5106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.9301, allocations: 1.007 MB / 0.7583 GB, free: 15.05 MB / 0.5263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.9304, allocations: 0.753 MB / 0.7591 GB, free: 14.28 MB / 0.5263 GB Notification: Performance of simCode: alias equations: time 0.000236/0.9307, allocations: 97.83 kB / 0.7592 GB, free: 14.18 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.304e-05/0.9308, allocations: 31 kB / 0.7592 GB, free: 14.16 MB / 0.5263 GB Notification: Performance of SimCode: time 2.2e-07/0.9308, allocations: 0 / 0.7592 GB, free: 14.16 MB / 0.5263 GB Notification: Performance of Templates: time 0.005908/0.9367, allocations: 2.647 MB / 0.7618 GB, free: 11.56 MB / 0.5263 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches