Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.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.TestHysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="der.x.|p|time|time|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis") translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="der.x.|p|time|time|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 110.2 kB / 17.29 MB, free: 6.195 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.001223/0.001223, allocations: 194 kB / 18.21 MB, free: 5.27 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.256/1.256, allocations: 222.9 MB / 241.9 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8576/0.8576, allocations: 119.3 MB / 411.4 MB, free: 9.703 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 55.91 kB / 0.4911 GB, free: 14.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4818/0.4831, allocations: 80.69 MB / 0.5699 GB, free: 43.52 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001621/0.4847, allocations: 474.5 kB / 0.5703 GB, free: 43.18 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0004019/0.4851, allocations: 223.4 kB / 0.5705 GB, free: 43.02 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.599e-05/0.4852, allocations: 0 / 0.5705 GB, free: 43.02 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 1.615e-05/0.4852, allocations: 0 / 0.5705 GB, free: 43.02 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001213/0.4853, allocations: 1.562 kB / 0.5705 GB, free: 43.02 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001056/0.4854, allocations: 22.55 kB / 0.5706 GB, free: 43 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 4.224e-05/0.4855, allocations: 9.281 kB / 0.5706 GB, free: 43 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.14e-05/0.4855, allocations: 2 kB / 0.5706 GB, free: 43 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 2.184e-05/0.4856, allocations: 14.03 kB / 0.5706 GB, free: 42.98 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 4.226e-05/0.4856, allocations: 3.031 kB / 0.5706 GB, free: 42.98 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.119e-05/0.4856, allocations: 0 / 0.5706 GB, free: 42.98 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 7.422e-05/0.4857, allocations: 24.52 kB / 0.5706 GB, free: 42.97 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 1.157e-05/0.4857, allocations: 3.984 kB / 0.5706 GB, free: 42.97 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 1.852e-05/0.4858, allocations: 14.25 kB / 0.5706 GB, free: 42.96 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 6.719e-05/0.4858, allocations: 14.66 kB / 0.5706 GB, free: 42.95 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.4858, allocations: 0 / 0.5706 GB, free: 42.95 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4858, allocations: 1.156 kB / 0.5706 GB, free: 42.95 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.4858, allocations: 0 / 0.5706 GB, free: 42.95 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002745/0.4861, allocations: 322.4 kB / 0.571 GB, free: 42.59 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.4862, allocations: 10 kB / 0.571 GB, free: 42.59 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.292e-05/0.4862, allocations: 9.969 kB / 0.571 GB, free: 42.58 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.576e-05/0.4863, allocations: 163.4 kB / 0.5711 GB, free: 42.39 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.4863, allocations: 1.625 kB / 0.5711 GB, free: 42.39 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.4863, allocations: 1.562 kB / 0.5711 GB, free: 42.39 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.714e-05/0.4864, allocations: 33.94 kB / 0.5712 GB, free: 42.35 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.812e-06/0.4864, allocations: 1.438 kB / 0.5712 GB, free: 42.35 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.4864, allocations: 11.88 kB / 0.5712 GB, free: 42.34 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.4864, allocations: 3.938 kB / 0.5712 GB, free: 42.34 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.874e-05/0.4865, allocations: 12.8 kB / 0.5712 GB, free: 42.33 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001166/0.4866, allocations: 158 kB / 0.5713 GB, free: 42.13 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001926/0.4868, allocations: 39.41 kB / 0.5714 GB, free: 42.1 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.134e-05/0.4868, allocations: 9.047 kB / 0.5714 GB, free: 42.09 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.4869, allocations: 0 / 0.5714 GB, free: 42.09 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.4869, allocations: 35.97 kB / 0.5714 GB, free: 42.05 MB / 462.3 MB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.4869, allocations: 0 / 0.5714 GB, free: 42.05 MB / 462.3 MB Notification: Performance of matching and sorting (n=3): time 0.0001393/0.487, allocations: 67.88 kB / 0.5715 GB, free: 41.99 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.441e-05/0.4871, allocations: 51.41 kB / 0.5715 GB, free: 41.93 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.575e-05/0.4871, allocations: 92.67 kB / 0.5716 GB, free: 41.83 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 8.977e-06/0.4871, allocations: 27.05 kB / 0.5717 GB, free: 41.8 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.447e-05/0.4871, allocations: 82.61 kB / 0.5717 GB, free: 41.71 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.655e-05/0.4872, allocations: 12.81 kB / 0.5717 GB, free: 41.7 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.693e-05/0.4872, allocations: 17.48 kB / 0.5718 GB, free: 41.68 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.262e-05/0.4873, allocations: 316.6 kB / 0.5721 GB, free: 41.37 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.731e-05/0.4873, allocations: 6.625 kB / 0.5721 GB, free: 41.36 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.393e-05/0.4873, allocations: 12.48 kB / 0.5721 GB, free: 41.36 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.023e-05/0.4874, allocations: 17.86 kB / 0.5721 GB, free: 41.34 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4874, allocations: 4 kB / 0.5721 GB, free: 41.34 MB / 462.3 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.542e-05/0.4874, allocations: 51.44 kB / 0.5722 GB, free: 41.3 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.4874, allocations: 5.562 kB / 0.5722 GB, free: 41.3 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.4875, allocations: 3.938 kB / 0.5722 GB, free: 41.29 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.4875, allocations: 1.219 kB / 0.5722 GB, free: 41.29 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.243e-05/0.4875, allocations: 9.766 kB / 0.5722 GB, free: 41.29 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.4875, allocations: 0 / 0.5722 GB, free: 41.29 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.97e-05/0.4876, allocations: 9.562 kB / 0.5722 GB, free: 41.28 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.4876, allocations: 5.328 kB / 0.5722 GB, free: 41.28 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 (4): * Single equations (assignments): 4 * 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 4.73e-05/0.4876, allocations: 111.5 kB / 0.5723 GB, free: 41.16 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.704e-06/0.4876, allocations: 0 / 0.5723 GB, free: 41.16 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001357/0.4878, allocations: 78.64 kB / 0.5724 GB, free: 41.09 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.4878, allocations: 0 / 0.5724 GB, free: 41.09 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.4878, allocations: 1.312 kB / 0.5724 GB, free: 41.09 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.4878, allocations: 4 kB / 0.5724 GB, free: 41.09 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.402e-05/0.4879, allocations: 157.1 kB / 0.5725 GB, free: 40.89 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4879, allocations: 3.938 kB / 0.5725 GB, free: 40.89 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.369e-05/0.4879, allocations: 12.45 kB / 0.5725 GB, free: 40.88 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.4879, allocations: 0 / 0.5725 GB, free: 40.88 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.488, allocations: 5.438 kB / 0.5725 GB, free: 40.88 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.488, allocations: 0 / 0.5725 GB, free: 40.88 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.488, allocations: 0 / 0.5725 GB, free: 40.88 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.4881, allocations: 107 kB / 0.5726 GB, free: 40.79 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.054e-05/0.4881, allocations: 86.41 kB / 0.5727 GB, free: 40.68 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.4882, allocations: 3.938 kB / 0.5727 GB, free: 40.68 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.028e-05/0.4882, allocations: 5.375 kB / 0.5727 GB, free: 40.68 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.341e-05/0.4882, allocations: 1.375 kB / 0.5727 GB, free: 40.68 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.4882, allocations: 5.5 kB / 0.5727 GB, free: 40.67 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.78e-05/0.4882, allocations: 78.03 kB / 0.5728 GB, free: 40.6 MB / 462.3 MB Notification: Performance of sort global known variables: time 9e-08/0.4882, allocations: 0 / 0.5728 GB, free: 40.6 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001912/0.4884, allocations: 10.88 kB / 0.5728 GB, free: 40.59 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * 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 (6): * Single equations (assignments): 6 * 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 0.0001042/0.4885, allocations: 115.8 kB / 0.5729 GB, free: 40.48 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 9.438e-05/0.4886, allocations: 27.05 kB / 0.573 GB, free: 40.47 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.4886, allocations: 1.375 kB / 0.573 GB, free: 40.47 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 2.196e-05/0.4887, allocations: 15 kB / 0.573 GB, free: 40.47 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001386/0.4888, allocations: 1.375 kB / 0.573 GB, free: 40.47 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002661/0.4891, allocations: 167.8 kB / 0.5731 GB, free: 40.3 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001093/0.4892, allocations: 0.6835 MB / 0.5738 GB, free: 39.59 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.772e-05/0.4892, allocations: 10.19 kB / 0.5738 GB, free: 39.59 MB / 462.3 MB Notification: Performance of SimCode: time 2.2e-07/0.4892, allocations: 0 / 0.5738 GB, free: 39.59 MB / 462.3 MB Notification: Performance of Templates: time 0.002051/0.4913, allocations: 0.6873 MB / 0.5745 GB, free: 39.25 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches