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.001374/0.001374, allocations: 179.1 kB / 13.63 MB, free: 1.684 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.227/1.227, allocations: 221.4 MB / 235.5 MB, free: 2.949 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.0008525/0.0008525, allocations: 94.17 kB / 286.5 MB, free: 228 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9201/0.9201, allocations: 120.5 MB / 457.9 MB, free: 7.051 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 3.82e-05/3.83e-05, allocations: 0 / 0.5357 GB, free: 12.21 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5141/0.5141, allocations: 82.84 MB / 0.6166 GB, free: 9.336 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1437/0.6579, allocations: 124.9 MB / 0.7386 GB, free: 12.26 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001286/0.6581, allocations: 43.98 kB / 0.7387 GB, free: 12.22 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.0009055/0.659, allocations: 478.1 kB / 0.7391 GB, free: 11.75 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.553e-06/0.659, allocations: 0 / 0.7391 GB, free: 11.75 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.659, allocations: 0 / 0.7391 GB, free: 11.75 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002337/0.6593, allocations: 310.5 kB / 0.7394 GB, free: 11.4 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.6593, allocations: 8.031 kB / 0.7394 GB, free: 11.39 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.714e-05/0.6594, allocations: 3.953 kB / 0.7394 GB, free: 11.39 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.638e-05/0.6595, allocations: 163.1 kB / 0.7396 GB, free: 11.19 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.6595, allocations: 4 kB / 0.7396 GB, free: 11.19 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.6595, allocations: 4 kB / 0.7396 GB, free: 11.18 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.807e-05/0.6596, allocations: 25.7 kB / 0.7396 GB, free: 11.15 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.6596, allocations: 4 kB / 0.7396 GB, free: 11.15 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.585e-06/0.6596, allocations: 4 kB / 0.7396 GB, free: 11.14 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.6596, allocations: 0 / 0.7396 GB, free: 11.14 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.01e-05/0.6597, allocations: 11.89 kB / 0.7396 GB, free: 11.13 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001374/0.6598, allocations: 149.7 kB / 0.7398 GB, free: 10.94 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 3.959e-05/0.6599, allocations: 18.61 kB / 0.7398 GB, free: 10.91 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.22e-05/0.6599, allocations: 12.92 kB / 0.7398 GB, free: 10.89 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001347/0.66, allocations: 81.11 kB / 0.7399 GB, free: 10.8 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.733e-05/0.6601, allocations: 38.56 kB / 0.7399 GB, free: 10.75 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.6601, allocations: 0 / 0.7399 GB, free: 10.75 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2): time 0.0001125/0.6602, allocations: 41.61 kB / 0.74 GB, free: 10.7 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.6602, allocations: 55.41 kB / 0.74 GB, free: 10.64 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.675e-05/0.6603, allocations: 85 kB / 0.7401 GB, free: 10.55 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.6603, allocations: 25.7 kB / 0.7401 GB, free: 10.52 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 2.518e-05/0.6603, allocations: 87.36 kB / 0.7402 GB, free: 10.43 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/0.6603, allocations: 3.906 kB / 0.7402 GB, free: 10.43 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.124e-06/0.6603, allocations: 4.031 kB / 0.7402 GB, free: 10.42 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.6605, allocations: 314.8 kB / 0.7405 GB, free: 10.11 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.17e-05/0.6605, allocations: 4 kB / 0.7405 GB, free: 10.1 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.031e-06/0.6605, allocations: 0 / 0.7405 GB, free: 10.1 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.115e-05/0.6605, allocations: 7.984 kB / 0.7405 GB, free: 10.09 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.6605, allocations: 0 / 0.7405 GB, free: 10.09 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.019e-05/0.6606, allocations: 45.58 kB / 0.7406 GB, free: 10.04 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.6606, allocations: 5.719 kB / 0.7406 GB, free: 10.04 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.6606, allocations: 8.094 kB / 0.7406 GB, free: 10.03 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.6607, allocations: 7.938 kB / 0.7406 GB, free: 10.02 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.279e-05/0.6607, allocations: 0 / 0.7406 GB, free: 10.02 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.6607, allocations: 0 / 0.7406 GB, free: 10.02 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.192e-05/0.6607, allocations: 4 kB / 0.7406 GB, free: 10.02 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-06/0.6607, allocations: 0 / 0.7406 GB, free: 10.02 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.753e-05/0.6608, allocations: 108.9 kB / 0.7407 GB, free: 9.906 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.561e-06/0.6608, allocations: 0 / 0.7407 GB, free: 9.906 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.552e-05/0.6609, allocations: 44.83 kB / 0.7407 GB, free: 9.855 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.6609, allocations: 0 / 0.7407 GB, free: 9.855 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-05/0.661, allocations: 0 / 0.7407 GB, free: 9.855 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.661, allocations: 7.984 kB / 0.7407 GB, free: 9.848 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.168e-05/0.6611, allocations: 149.6 kB / 0.7409 GB, free: 9.652 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.6611, allocations: 0 / 0.7409 GB, free: 9.652 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.142e-05/0.6611, allocations: 7.938 kB / 0.7409 GB, free: 9.645 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.6611, allocations: 0 / 0.7409 GB, free: 9.645 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/0.6611, allocations: 0 / 0.7409 GB, free: 9.645 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.6611, allocations: 0 / 0.7409 GB, free: 9.645 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.6611, allocations: 0 / 0.7409 GB, free: 9.645 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.243e-05/0.6612, allocations: 73.11 kB / 0.741 GB, free: 9.555 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.03e-05/0.6612, allocations: 81.02 kB / 0.741 GB, free: 9.457 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.788e-06/0.6613, allocations: 0 / 0.741 GB, free: 9.457 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.05e-05/0.6613, allocations: 0 / 0.741 GB, free: 9.457 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.727e-05/0.6613, allocations: 3.984 kB / 0.741 GB, free: 9.453 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.6613, allocations: 4 kB / 0.741 GB, free: 9.449 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 3.115e-05/0.6613, allocations: 79.31 kB / 0.7411 GB, free: 9.371 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6613, allocations: 0 / 0.7411 GB, free: 9.371 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0001552/0.6615, allocations: 8 kB / 0.7411 GB, free: 9.363 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.0001205/0.6616, allocations: 95.19 kB / 0.7412 GB, free: 9.258 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 6.647e-05/0.6617, allocations: 15.94 kB / 0.7412 GB, free: 9.242 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.6617, allocations: 0 / 0.7412 GB, free: 9.242 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 9.277e-06/0.6617, allocations: 4 kB / 0.7412 GB, free: 9.238 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.525e-05/0.6618, allocations: 3.953 kB / 0.7412 GB, free: 9.234 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001723/0.662, allocations: 57.11 kB / 0.7413 GB, free: 9.156 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/0.6622, allocations: 0.6692 MB / 0.742 GB, free: 8.461 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 2.397e-05/0.6623, allocations: 7.984 kB / 0.742 GB, free: 8.453 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.561e-05/0.6623, allocations: 7.438 kB / 0.742 GB, free: 8.445 MB / 0.5419 GB Notification: Performance of SimCode: time 3.2e-07/0.6623, allocations: 3.938 kB / 0.742 GB, free: 8.441 MB / 0.5419 GB Notification: Performance of Templates: time 0.00179/0.6641, allocations: 266.5 kB / 0.7422 GB, free: 8.184 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