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.001452/0.001453, allocations: 175.7 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.574/1.574, 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.001029/0.001028, allocations: 100.3 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.183/1.183, allocations: 120.5 MB / 452.4 MB, free: 10.48 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.447e-05/2.504e-05, allocations: 0 / 0.5288 GB, free: 1.301 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6717/0.6718, allocations: 82.84 MB / 0.6097 GB, free: 13.04 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2096/0.8815, allocations: 124.3 MB / 0.731 GB, free: 0.6133 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/0.8818, allocations: 47.97 kB / 0.7311 GB, free: 0.5703 MB / 0.5263 GB Notification: Performance of FrontEnd - DAE generated: time 0.001502/0.8833, allocations: 470.1 kB / 0.7315 GB, free: 108 kB / 0.5263 GB Notification: Performance of FrontEnd: time 5.831e-06/0.8834, allocations: 0 / 0.7315 GB, free: 108 kB / 0.5263 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.8834, allocations: 3.938 kB / 0.7315 GB, free: 104 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.0004465/0.8838, allocations: 314.4 kB / 0.7318 GB, free: 15.75 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 6.741e-05/0.8839, allocations: 12.09 kB / 0.7319 GB, free: 15.74 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.355e-05/0.884, allocations: 3.953 kB / 0.7319 GB, free: 15.73 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.8842, allocations: 159.1 kB / 0.732 GB, free: 15.54 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.8842, allocations: 0 / 0.732 GB, free: 15.54 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.8842, allocations: 0 / 0.732 GB, free: 15.54 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.458e-05/0.8843, allocations: 4 kB / 0.732 GB, free: 15.54 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.8845, allocations: 33.69 kB / 0.732 GB, free: 15.5 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.8845, allocations: 0 / 0.732 GB, free: 15.5 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.8845, allocations: 0 / 0.732 GB, free: 15.5 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.8845, allocations: 7.953 kB / 0.7321 GB, free: 15.49 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002014/0.8848, allocations: 126.2 kB / 0.7322 GB, free: 15.33 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 6.072e-05/0.8848, allocations: 26.55 kB / 0.7322 GB, free: 15.29 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.82e-05/0.8849, allocations: 4.859 kB / 0.7322 GB, free: 15.29 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002157/0.8851, allocations: 89.16 kB / 0.7323 GB, free: 15.18 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.023e-05/0.8851, allocations: 34.56 kB / 0.7323 GB, free: 15.14 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.8852, allocations: 4 kB / 0.7323 GB, free: 15.13 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2): time 0.0002505/0.8854, allocations: 33.7 kB / 0.7324 GB, free: 15.09 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.8855, allocations: 55.39 kB / 0.7324 GB, free: 15.03 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.26e-05/0.8855, allocations: 85 kB / 0.7325 GB, free: 14.94 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.8855, allocations: 25.7 kB / 0.7325 GB, free: 14.91 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 3.949e-05/0.8856, allocations: 80.14 kB / 0.7326 GB, free: 14.82 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 4.638e-05/0.8856, allocations: 3.906 kB / 0.7326 GB, free: 14.82 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-06/0.8857, allocations: 4 kB / 0.7326 GB, free: 14.82 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0002063/0.8859, allocations: 322.8 kB / 0.7329 GB, free: 14.49 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.338e-05/0.8859, allocations: 3.938 kB / 0.7329 GB, free: 14.49 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.526e-06/0.8859, allocations: 4 kB / 0.7329 GB, free: 14.48 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.405e-05/0.886, allocations: 3.938 kB / 0.7329 GB, free: 14.48 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.886, allocations: 4 kB / 0.7329 GB, free: 14.48 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001124/0.8861, allocations: 41.62 kB / 0.733 GB, free: 14.43 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.8862, allocations: 4 kB / 0.733 GB, free: 14.43 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.8862, allocations: 0 / 0.733 GB, free: 14.43 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.8862, allocations: 0 / 0.733 GB, free: 14.43 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.225e-05/0.8863, allocations: 12.09 kB / 0.733 GB, free: 14.41 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.8863, allocations: 3.984 kB / 0.733 GB, free: 14.41 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.59e-05/0.8863, allocations: 0 / 0.733 GB, free: 14.41 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.8863, allocations: 4 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 9.457e-05/0.8864, allocations: 104.9 kB / 0.7331 GB, free: 14.3 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.033e-05/0.8865, allocations: 0 / 0.7331 GB, free: 14.3 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001654/0.8866, allocations: 45.38 kB / 0.7331 GB, free: 14.25 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.8866, allocations: 0 / 0.7331 GB, free: 14.25 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.8867, allocations: 4.031 kB / 0.7331 GB, free: 14.24 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/0.8867, allocations: 4 kB / 0.7331 GB, free: 14.24 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/0.8868, allocations: 126.2 kB / 0.7333 GB, free: 14.08 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.8868, allocations: 3.953 kB / 0.7333 GB, free: 14.07 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.128e-05/0.8868, allocations: 11.97 kB / 0.7333 GB, free: 14.06 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.253e-06/0.8868, allocations: 4 kB / 0.7333 GB, free: 14.06 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.8869, allocations: 0 / 0.7333 GB, free: 14.06 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.8869, allocations: 0 / 0.7333 GB, free: 14.06 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.8869, allocations: 0 / 0.7333 GB, free: 14.06 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001438/0.887, allocations: 69.12 kB / 0.7333 GB, free: 13.97 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.893e-05/0.8871, allocations: 84.97 kB / 0.7334 GB, free: 13.87 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.8871, allocations: 3.938 kB / 0.7334 GB, free: 13.87 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.514e-05/0.8871, allocations: 0 / 0.7334 GB, free: 13.87 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.871e-05/0.8872, allocations: 0 / 0.7334 GB, free: 13.87 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.8872, allocations: 4 kB / 0.7334 GB, free: 13.86 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 5.046e-05/0.8872, allocations: 75.28 kB / 0.7335 GB, free: 13.79 MB / 0.5419 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8873, allocations: 0 / 0.7335 GB, free: 13.79 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.000227/0.8875, allocations: 12.03 kB / 0.7335 GB, free: 13.78 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.0001457/0.8876, allocations: 99.17 kB / 0.7336 GB, free: 13.67 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 7.602e-05/0.8877, allocations: 8 kB / 0.7336 GB, free: 13.66 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.8877, allocations: 0 / 0.7336 GB, free: 13.66 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 8.867e-06/0.8877, allocations: 4 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 0.0001124/0.8879, allocations: 0 / 0.7336 GB, free: 13.66 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002198/0.8881, allocations: 55.94 kB / 0.7337 GB, free: 13.58 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.8884, allocations: 0.6808 MB / 0.7343 GB, free: 12.87 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 2.666e-05/0.8885, allocations: 0 / 0.7343 GB, free: 12.87 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.671e-05/0.8885, allocations: 15.38 kB / 0.7344 GB, free: 12.86 MB / 0.5419 GB Notification: Performance of SimCode: time 2.71e-07/0.8885, allocations: 0 / 0.7344 GB, free: 12.86 MB / 0.5419 GB Notification: Performance of Templates: time 0.002422/0.8909, allocations: 257 kB / 0.7346 GB, free: 12.61 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/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