Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.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.Verification.TestHist,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist") translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 174.9 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.437/1.437, allocations: 221.5 MB / 230.3 MB, free: 7.578 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.001022/0.001022, allocations: 100.2 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.062/1.062, allocations: 120.5 MB / 452.4 MB, free: 10.5 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.174e-05/1.176e-05, allocations: 0 / 0.5288 GB, free: 1.305 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6066/0.6066, allocations: 82.83 MB / 0.6097 GB, free: 13.05 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1607/0.7674, allocations: 124.3 MB / 0.731 GB, free: 0.6289 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001495/0.7676, allocations: 47.97 kB / 0.7311 GB, free: 0.5859 MB / 0.5263 GB Notification: Performance of FrontEnd - DAE generated: time 0.001022/0.7686, allocations: 482.1 kB / 0.7315 GB, free: 112 kB / 0.5263 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7686, allocations: 0 / 0.7315 GB, free: 112 kB / 0.5263 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.7686, allocations: 0 / 0.7315 GB, free: 112 kB / 0.5263 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002483/0.7689, allocations: 306.5 kB / 0.7318 GB, free: 15.77 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.7689, allocations: 8.031 kB / 0.7318 GB, free: 15.76 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.662e-05/0.769, allocations: 3.953 kB / 0.7319 GB, free: 15.75 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.7691, allocations: 167.1 kB / 0.732 GB, free: 15.55 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.7691, allocations: 0 / 0.732 GB, free: 15.55 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.624e-06/0.7691, allocations: 0 / 0.732 GB, free: 15.55 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.199e-05/0.7692, allocations: 4 kB / 0.732 GB, free: 15.55 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.664e-05/0.7692, allocations: 29.7 kB / 0.732 GB, free: 15.51 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.7692, allocations: 0 / 0.732 GB, free: 15.51 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.7693, allocations: 0 / 0.732 GB, free: 15.51 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.7693, allocations: 7.891 kB / 0.732 GB, free: 15.5 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001251/0.7694, allocations: 134.3 kB / 0.7322 GB, free: 15.34 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 4.619e-05/0.7695, allocations: 22.58 kB / 0.7322 GB, free: 15.3 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.988e-05/0.7695, allocations: 4.859 kB / 0.7322 GB, free: 15.3 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001439/0.7696, allocations: 89.17 kB / 0.7323 GB, free: 15.19 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.7697, allocations: 38.53 kB / 0.7323 GB, free: 15.14 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=2): time 1.021e-06/0.7697, allocations: 0 / 0.7323 GB, free: 15.14 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2): time 0.0001531/0.7698, allocations: 33.7 kB / 0.7324 GB, free: 15.11 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.7699, allocations: 55.44 kB / 0.7324 GB, free: 15.04 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.26e-05/0.7699, allocations: 85 kB / 0.7325 GB, free: 14.95 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.7699, allocations: 29.64 kB / 0.7325 GB, free: 14.91 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 3.16e-05/0.77, allocations: 80.14 kB / 0.7326 GB, free: 14.83 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 3.304e-05/0.77, allocations: 15.89 kB / 0.7326 GB, free: 14.82 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.415e-06/0.77, allocations: 0 / 0.7326 GB, free: 14.82 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 9.856e-05/0.7701, allocations: 314.8 kB / 0.7329 GB, free: 14.5 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.767e-06/0.7701, allocations: 0 / 0.7329 GB, free: 14.5 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.144e-06/0.7701, allocations: 8 kB / 0.7329 GB, free: 14.49 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.294e-05/0.7702, allocations: 4 kB / 0.7329 GB, free: 14.49 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.7702, allocations: 0 / 0.7329 GB, free: 14.49 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.993e-05/0.7703, allocations: 45.62 kB / 0.733 GB, free: 14.44 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.7703, allocations: 4 kB / 0.733 GB, free: 14.43 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.7703, allocations: 0 / 0.733 GB, free: 14.43 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.7703, allocations: 4 kB / 0.733 GB, free: 14.43 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.881e-05/0.7704, allocations: 7.938 kB / 0.733 GB, free: 14.42 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.7704, allocations: 0 / 0.733 GB, free: 14.42 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.181e-05/0.7704, allocations: 0 / 0.733 GB, free: 14.42 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-06/0.7704, allocations: 8.094 kB / 0.733 GB, free: 14.41 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 (2): * Single equations (assignments): 2 * 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 5.75e-05/0.7705, allocations: 104.9 kB / 0.7331 GB, free: 14.3 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.444e-06/0.7705, allocations: 7.922 kB / 0.7331 GB, free: 14.3 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/0.7706, allocations: 45.44 kB / 0.7331 GB, free: 14.25 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.7706, allocations: 0 / 0.7331 GB, free: 14.25 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.7706, allocations: 0 / 0.7331 GB, free: 14.25 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.7706, allocations: 4 kB / 0.7331 GB, free: 14.24 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.304e-05/0.7707, allocations: 122.2 kB / 0.7333 GB, free: 14.09 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.7707, allocations: 7.984 kB / 0.7333 GB, free: 14.08 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.891e-05/0.7708, allocations: 4 kB / 0.7333 GB, free: 14.07 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.7708, allocations: 0 / 0.7333 GB, free: 14.07 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.7708, allocations: 0 / 0.7333 GB, free: 14.07 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.7708, allocations: 3.984 kB / 0.7333 GB, free: 14.07 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.7708, allocations: 0 / 0.7333 GB, free: 14.07 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.12e-05/0.7709, allocations: 69.06 kB / 0.7333 GB, free: 13.98 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.187e-05/0.7709, allocations: 92.98 kB / 0.7334 GB, free: 13.88 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.771, allocations: 0 / 0.7334 GB, free: 13.88 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.028e-05/0.771, allocations: 0 / 0.7334 GB, free: 13.88 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.539e-05/0.771, allocations: 0 / 0.7334 GB, free: 13.88 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-06/0.771, allocations: 4 kB / 0.7334 GB, free: 13.87 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 2.616e-05/0.771, allocations: 75.28 kB / 0.7335 GB, free: 13.8 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.41e-07/0.771, allocations: 0 / 0.7335 GB, free: 13.8 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0001738/0.7712, allocations: 8 kB / 0.7335 GB, free: 13.79 MB / 0.5419 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001231/0.7713, allocations: 95.19 kB / 0.7336 GB, free: 13.68 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 6.309e-05/0.7714, allocations: 12 kB / 0.7336 GB, free: 13.67 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.7714, allocations: 0 / 0.7336 GB, free: 13.67 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 1.005e-05/0.7714, allocations: 11.94 kB / 0.7336 GB, free: 13.66 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.946e-05/0.7715, allocations: 3.984 kB / 0.7336 GB, free: 13.66 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001953/0.7717, allocations: 48 kB / 0.7337 GB, free: 13.59 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/0.772, allocations: 0.6768 MB / 0.7343 GB, free: 12.88 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 2.77e-05/0.772, allocations: 4.125 kB / 0.7343 GB, free: 12.88 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.363e-05/0.772, allocations: 11.44 kB / 0.7344 GB, free: 12.87 MB / 0.5419 GB Notification: Performance of SimCode: time 2.31e-07/0.772, allocations: 0 / 0.7344 GB, free: 12.87 MB / 0.5419 GB Notification: Performance of Templates: time 0.001903/0.774, allocations: 250.7 kB / 0.7346 GB, free: 12.62 MB / 0.5419 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches