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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 112.9 kB / 16.63 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 190 kB / 17.55 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.161/1.161, allocations: 222.9 MB / 241.2 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7511/0.7511, allocations: 119.3 MB / 410.7 MB, free: 9.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001093/0.001093, allocations: 59.91 kB / 0.4904 GB, free: 14.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3802/0.3813, allocations: 80.67 MB / 0.5692 GB, free: 43.45 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001233/0.3826, allocations: 462.8 kB / 0.5697 GB, free: 43.11 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001394/0.3827, allocations: 34.62 kB / 0.5697 GB, free: 43.08 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.613e-05/0.3828, allocations: 0 / 0.5697 GB, free: 43.08 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 1.152e-05/0.3828, allocations: 1.156 kB / 0.5697 GB, free: 43.08 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 4.288e-05/0.3828, allocations: 0 / 0.5697 GB, free: 43.08 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001217/0.383, allocations: 10.33 kB / 0.5697 GB, free: 43.07 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 3.438e-05/0.383, allocations: 6.344 kB / 0.5697 GB, free: 43.07 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.56e-05/0.383, allocations: 4.875 kB / 0.5697 GB, free: 43.07 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 1.238e-05/0.3831, allocations: 5.156 kB / 0.5697 GB, free: 43.06 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 2.791e-05/0.3831, allocations: 2.469 kB / 0.5697 GB, free: 43.06 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 8.286e-06/0.3831, allocations: 0 / 0.5697 GB, free: 43.06 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 4.739e-05/0.3831, allocations: 13.11 kB / 0.5697 GB, free: 43.05 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 7.515e-06/0.3832, allocations: 0 / 0.5697 GB, free: 43.05 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 1.434e-05/0.3832, allocations: 5.156 kB / 0.5697 GB, free: 43.05 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 5.435e-05/0.3832, allocations: 12.19 kB / 0.5698 GB, free: 43.04 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.3832, allocations: 0 / 0.5698 GB, free: 43.04 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3832, allocations: 0 / 0.5698 GB, free: 43.04 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.237e-06/0.3833, allocations: 1.156 kB / 0.5698 GB, free: 43.04 MB / 462.3 MB 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.0001628/0.3834, allocations: 318.9 kB / 0.5701 GB, free: 42.68 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 2.801e-05/0.3835, allocations: 10.47 kB / 0.5701 GB, free: 42.68 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.1e-05/0.3835, allocations: 4.922 kB / 0.5701 GB, free: 42.68 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.661e-05/0.3835, allocations: 160.4 kB / 0.5702 GB, free: 42.48 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.065e-06/0.3835, allocations: 1.812 kB / 0.5702 GB, free: 42.48 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.105e-06/0.3835, allocations: 5.703 kB / 0.5702 GB, free: 42.48 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.324e-05/0.3836, allocations: 32.39 kB / 0.5703 GB, free: 42.45 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.11e-06/0.3836, allocations: 192 / 0.5703 GB, free: 42.45 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.881e-06/0.3836, allocations: 5.156 kB / 0.5703 GB, free: 42.44 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.347e-06/0.3836, allocations: 0 / 0.5703 GB, free: 42.44 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.368e-05/0.3837, allocations: 15.05 kB / 0.5703 GB, free: 42.43 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.511e-05/0.3837, allocations: 144 kB / 0.5704 GB, free: 42.24 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 3.42e-05/0.3838, allocations: 24.02 kB / 0.5704 GB, free: 42.21 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.482e-05/0.3838, allocations: 7.047 kB / 0.5705 GB, free: 42.21 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001683/0.384, allocations: 87.31 kB / 0.5705 GB, free: 42.11 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.337e-05/0.384, allocations: 35.69 kB / 0.5706 GB, free: 42.07 MB / 462.3 MB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.384, allocations: 3.938 kB / 0.5706 GB, free: 42.06 MB / 462.3 MB Notification: Performance of matching and sorting (n=2): time 9.67e-05/0.3841, allocations: 45.78 kB / 0.5706 GB, free: 42.02 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.574e-05/0.3841, allocations: 56.31 kB / 0.5707 GB, free: 41.95 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.099e-05/0.3841, allocations: 89.86 kB / 0.5708 GB, free: 41.86 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 5.48e-06/0.3842, allocations: 26.73 kB / 0.5708 GB, free: 41.82 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 7.174e-06/0.3842, allocations: 80.14 kB / 0.5709 GB, free: 41.74 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.3842, allocations: 5.031 kB / 0.5709 GB, free: 41.74 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.03e-05/0.3842, allocations: 19.94 kB / 0.5709 GB, free: 41.71 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.172e-05/0.3842, allocations: 316 kB / 0.5712 GB, free: 41.4 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.017e-06/0.3843, allocations: 1.781 kB / 0.5712 GB, free: 41.4 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.472e-06/0.3843, allocations: 2.281 kB / 0.5712 GB, free: 41.4 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.449e-05/0.3843, allocations: 21.58 kB / 0.5712 GB, free: 41.38 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.3843, allocations: 0 / 0.5712 GB, free: 41.38 MB / 462.3 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.14e-05/0.3844, allocations: 33.61 kB / 0.5712 GB, free: 41.35 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 8.987e-06/0.3844, allocations: 4.531 kB / 0.5712 GB, free: 41.35 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.986e-06/0.3844, allocations: 9.125 kB / 0.5713 GB, free: 41.34 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.977e-06/0.3844, allocations: 7.922 kB / 0.5713 GB, free: 41.33 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.717e-05/0.3844, allocations: 3.438 kB / 0.5713 GB, free: 41.33 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-06/0.3844, allocations: 0 / 0.5713 GB, free: 41.33 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.163e-05/0.3845, allocations: 3.156 kB / 0.5713 GB, free: 41.33 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-06/0.3845, allocations: 4 kB / 0.5713 GB, free: 41.33 MB / 462.3 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.068e-05/0.3845, allocations: 108.1 kB / 0.5714 GB, free: 41.21 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.781e-06/0.3845, allocations: 0 / 0.5714 GB, free: 41.21 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.766e-05/0.3846, allocations: 56.41 kB / 0.5714 GB, free: 41.16 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.3846, allocations: 1.25 kB / 0.5714 GB, free: 41.16 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.3846, allocations: 0 / 0.5714 GB, free: 41.16 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.3846, allocations: 0 / 0.5714 GB, free: 41.16 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.829e-05/0.3846, allocations: 143.8 kB / 0.5716 GB, free: 40.97 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3846, allocations: 5.078 kB / 0.5716 GB, free: 40.96 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.737e-05/0.3847, allocations: 2.281 kB / 0.5716 GB, free: 40.96 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3847, allocations: 1.25 kB / 0.5716 GB, free: 40.96 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.919e-06/0.3847, allocations: 3.938 kB / 0.5716 GB, free: 40.96 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3847, allocations: 1.188 kB / 0.5716 GB, free: 40.96 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.3847, allocations: 4.031 kB / 0.5716 GB, free: 40.96 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.5e-05/0.3847, allocations: 65.91 kB / 0.5716 GB, free: 40.88 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.071e-05/0.3848, allocations: 77.11 kB / 0.5717 GB, free: 40.79 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.945e-06/0.3848, allocations: 9.219 kB / 0.5717 GB, free: 40.78 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.979e-06/0.3848, allocations: 0 / 0.5717 GB, free: 40.78 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.025e-06/0.3848, allocations: 5.219 kB / 0.5717 GB, free: 40.78 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-06/0.3848, allocations: 1.094 kB / 0.5717 GB, free: 40.78 MB / 462.3 MB Notification: Performance of sorting global known variables: time 8.676e-06/0.3848, allocations: 79.31 kB / 0.5718 GB, free: 40.7 MB / 462.3 MB Notification: Performance of sort global known variables: time 8e-08/0.3848, allocations: 0 / 0.5718 GB, free: 40.7 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001612/0.385, allocations: 3.406 kB / 0.5718 GB, free: 40.7 MB / 462.3 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.187e-05/0.3851, allocations: 102 kB / 0.5719 GB, free: 40.6 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 5.432e-05/0.3851, allocations: 7 kB / 0.5719 GB, free: 40.6 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.3851, allocations: 0 / 0.5719 GB, free: 40.6 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 9.378e-06/0.3851, allocations: 12 kB / 0.5719 GB, free: 40.59 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001115/0.3853, allocations: 5.562 kB / 0.5719 GB, free: 40.59 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000118/0.3854, allocations: 100.1 kB / 0.572 GB, free: 40.47 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.804e-05/0.3855, allocations: 0.6717 MB / 0.5727 GB, free: 39.78 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 1.871e-05/0.3855, allocations: 1.406 kB / 0.5727 GB, free: 39.78 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.847e-06/0.3855, allocations: 7.438 kB / 0.5727 GB, free: 39.77 MB / 462.3 MB Notification: Performance of SimCode: time 2.31e-07/0.3855, allocations: 0.9375 kB / 0.5727 GB, free: 39.77 MB / 462.3 MB Notification: Performance of Templates: time 0.001612/0.3871, allocations: 290.2 kB / 0.573 GB, free: 39.61 MB / 462.3 MB 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