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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo", uses=false) Using package ScalableTestSuite with version 1.11.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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 3.2.3+maint.om/package.mo): time 0.0009814/0.0009863, allocations: 182.1 kB / 17.4 MB, free: 4.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.332/1.332, allocations: 205.4 MB / 223.5 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007687/0.0007692, allocations: 81.5 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo): time 0.7786/0.7786, allocations: 120.4 MB / 440.6 MB, free: 4.082 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 0.000323/0.0003234, allocations: 8 kB / 0.5188 GB, free: 57.26 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1071, allocations: 80 MB / 0.5969 GB, free: 9.129 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5956/0.7028, allocations: 124.1 MB / 0.7182 GB, free: 19.05 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001204/0.7029, allocations: 51.92 kB / 0.7182 GB, free: 19.04 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.0008566/0.7038, allocations: 477 kB / 0.7187 GB, free: 18.71 MB / 0.4953 GB Notification: Performance of FrontEnd: time 2.585e-06/0.7038, allocations: 0 / 0.7187 GB, free: 18.71 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.7038, allocations: 0 / 0.7187 GB, free: 18.71 MB / 0.4953 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.0001857/0.704, allocations: 317.6 kB / 0.719 GB, free: 18.36 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.7041, allocations: 11.5 kB / 0.719 GB, free: 18.36 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.598e-05/0.7041, allocations: 0.9375 kB / 0.719 GB, free: 18.36 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.15e-05/0.7042, allocations: 167 kB / 0.7192 GB, free: 18.16 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.7042, allocations: 384 / 0.7192 GB, free: 18.16 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.7042, allocations: 384 / 0.7192 GB, free: 18.16 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.318e-05/0.7043, allocations: 40.62 kB / 0.7192 GB, free: 18.12 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.7043, allocations: 192 / 0.7192 GB, free: 18.12 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.7043, allocations: 3.938 kB / 0.7192 GB, free: 18.12 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.7043, allocations: 0 / 0.7192 GB, free: 18.12 MB / 0.4953 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.856e-05/0.7044, allocations: 3.844 kB / 0.7192 GB, free: 18.12 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001078/0.7045, allocations: 152.2 kB / 0.7194 GB, free: 17.93 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 4.073e-05/0.7045, allocations: 22.36 kB / 0.7194 GB, free: 17.9 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.918e-05/0.7046, allocations: 12.7 kB / 0.7194 GB, free: 17.89 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000134/0.7047, allocations: 87.48 kB / 0.7195 GB, free: 17.8 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.7047, allocations: 30.56 kB / 0.7195 GB, free: 17.76 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.7047, allocations: 0 / 0.7195 GB, free: 17.76 MB / 0.4953 GB Notification: Performance of matching and sorting (n=2): time 0.0001258/0.7049, allocations: 43.16 kB / 0.7195 GB, free: 17.72 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.7049, allocations: 51.41 kB / 0.7196 GB, free: 17.66 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.093e-05/0.7049, allocations: 93.67 kB / 0.7197 GB, free: 17.56 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 7.674e-06/0.7049, allocations: 33.77 kB / 0.7197 GB, free: 17.52 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 1.153e-05/0.705, allocations: 80.14 kB / 0.7198 GB, free: 17.44 MB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 2.904e-05/0.705, allocations: 7.297 kB / 0.7198 GB, free: 17.44 MB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.355e-06/0.705, allocations: 0 / 0.7198 GB, free: 17.44 MB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 4.51e-05/0.7051, allocations: 314.7 kB / 0.7201 GB, free: 17.12 MB / 0.4953 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.067e-06/0.7051, allocations: 0 / 0.7201 GB, free: 17.12 MB / 0.4953 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.732e-06/0.7051, allocations: 3.844 kB / 0.7201 GB, free: 17.12 MB / 0.4953 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.755e-05/0.7051, allocations: 12.14 kB / 0.7201 GB, free: 17.12 MB / 0.4953 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.7051, allocations: 4.062 kB / 0.7201 GB, free: 17.11 MB / 0.4953 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.44e-05/0.7052, allocations: 39.38 kB / 0.7202 GB, free: 17.08 MB / 0.4953 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.7052, allocations: 7.781 kB / 0.7202 GB, free: 17.08 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.7052, allocations: 0 / 0.7202 GB, free: 17.08 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.7052, allocations: 7.781 kB / 0.7202 GB, free: 17.07 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.978e-05/0.7053, allocations: 6.609 kB / 0.7202 GB, free: 17.07 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.7053, allocations: 0 / 0.7202 GB, free: 17.07 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.298e-05/0.7053, allocations: 3.781 kB / 0.7202 GB, free: 17.07 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-06/0.7053, allocations: 0 / 0.7202 GB, free: 17.07 MB / 0.4953 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 (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 4.402e-05/0.7054, allocations: 113.8 kB / 0.7203 GB, free: 16.95 MB / 0.4953 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.284e-06/0.7054, allocations: 0 / 0.7203 GB, free: 16.95 MB / 0.4953 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.659e-05/0.7055, allocations: 54.97 kB / 0.7203 GB, free: 16.9 MB / 0.4953 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.7055, allocations: 0 / 0.7203 GB, free: 16.9 MB / 0.4953 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.7055, allocations: 3.844 kB / 0.7203 GB, free: 16.9 MB / 0.4953 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.7055, allocations: 2.812 kB / 0.7203 GB, free: 16.9 MB / 0.4953 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.702e-05/0.7056, allocations: 145.6 kB / 0.7205 GB, free: 16.71 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.7056, allocations: 0 / 0.7205 GB, free: 16.71 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.287e-05/0.7056, allocations: 7.172 kB / 0.7205 GB, free: 16.71 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.7056, allocations: 4.031 kB / 0.7205 GB, free: 16.71 MB / 0.4953 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.7056, allocations: 7.875 kB / 0.7205 GB, free: 16.7 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.7056, allocations: 3.969 kB / 0.7205 GB, free: 16.7 MB / 0.4953 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.7056, allocations: 0 / 0.7205 GB, free: 16.7 MB / 0.4953 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.724e-05/0.7057, allocations: 59.47 kB / 0.7206 GB, free: 16.64 MB / 0.4953 GB Notification: Performance of postOpt removeConstants (simulation): time 1.918e-05/0.7057, allocations: 83.45 kB / 0.7206 GB, free: 16.54 MB / 0.4953 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.043e-05/0.7057, allocations: 3.938 kB / 0.7206 GB, free: 16.54 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.179e-05/0.7058, allocations: 8.016 kB / 0.7207 GB, free: 16.53 MB / 0.4953 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.696e-05/0.7058, allocations: 6.516 kB / 0.7207 GB, free: 16.53 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.7058, allocations: 0 / 0.7207 GB, free: 16.53 MB / 0.4953 GB Notification: Performance of sorting global known variables: time 1.164e-05/0.7058, allocations: 75.28 kB / 0.7207 GB, free: 16.46 MB / 0.4953 GB Notification: Performance of sort global known variables: time 9e-08/0.7058, allocations: 0 / 0.7207 GB, free: 16.46 MB / 0.4953 GB Notification: Performance of remove unused functions: time 0.0002104/0.706, allocations: 3.844 kB / 0.7207 GB, free: 16.46 MB / 0.4953 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 () * Number of clocked 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 8.591e-05/0.7061, allocations: 107.4 kB / 0.7208 GB, free: 16.36 MB / 0.4953 GB Notification: Performance of simCode: created initialization part: time 5.635e-05/0.7062, allocations: 10.41 kB / 0.7209 GB, free: 16.36 MB / 0.4953 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.7062, allocations: 4.062 kB / 0.7209 GB, free: 16.36 MB / 0.4953 GB Notification: Performance of simCode: created simulation system equations: time 7.735e-06/0.7062, allocations: 3.719 kB / 0.7209 GB, free: 16.36 MB / 0.4953 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001243/0.7063, allocations: 3.75 kB / 0.7209 GB, free: 16.36 MB / 0.4953 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001727/0.7065, allocations: 89.52 kB / 0.7209 GB, free: 16.25 MB / 0.4953 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.17e-05/0.7066, allocations: 0.6692 MB / 0.7216 GB, free: 15.56 MB / 0.4953 GB Notification: Performance of simCode: alias equations: time 2.277e-05/0.7066, allocations: 0 / 0.7216 GB, free: 15.56 MB / 0.4953 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.065e-05/0.7067, allocations: 15.34 kB / 0.7216 GB, free: 15.55 MB / 0.4953 GB Notification: Performance of SimCode: time 2.21e-07/0.7067, allocations: 0 / 0.7216 GB, free: 15.55 MB / 0.4953 GB Notification: Performance of Templates: time 0.001759/0.7084, allocations: 255.8 kB / 0.7219 GB, free: 15.49 MB / 0.4953 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/jenkins1/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