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.0008728/0.0008729, allocations: 90.11 kB / 16.65 MB, free: 6.535 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.0009289/0.0009289, allocations: 178.8 kB / 17.56 MB, free: 6.176 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.294/1.294, allocations: 223.3 MB / 241.6 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8971/0.8971, allocations: 120.5 MB / 413.2 MB, free: 9.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003127/0.0003127, allocations: 12 kB / 0.4949 GB, free: 11.44 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4717/0.472, allocations: 82.84 MB / 0.5758 GB, free: 41.89 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.0004624/0.4725, allocations: 135.7 kB / 0.5759 GB, free: 41.79 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0004685/0.473, allocations: 220.6 kB / 0.5761 GB, free: 41.62 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.715e-05/0.473, allocations: 0 / 0.5761 GB, free: 41.62 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 1.091e-05/0.473, allocations: 0 / 0.5761 GB, free: 41.62 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001311/0.4732, allocations: 5.328 kB / 0.5761 GB, free: 41.62 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001003/0.4733, allocations: 17.48 kB / 0.5762 GB, free: 41.61 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 4.472e-05/0.4733, allocations: 12.86 kB / 0.5762 GB, free: 41.6 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.15e-05/0.4734, allocations: 2.062 kB / 0.5762 GB, free: 41.6 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 2.33e-05/0.4734, allocations: 6.062 kB / 0.5762 GB, free: 41.6 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 5.475e-05/0.4735, allocations: 15.42 kB / 0.5762 GB, free: 41.59 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.4735, allocations: 0 / 0.5762 GB, free: 41.59 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 8.702e-05/0.4736, allocations: 19.92 kB / 0.5762 GB, free: 41.58 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 1.178e-05/0.4736, allocations: 1.469 kB / 0.5762 GB, free: 41.58 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 2.478e-05/0.4737, allocations: 35.16 kB / 0.5763 GB, free: 41.54 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 9.113e-05/0.4738, allocations: 20.94 kB / 0.5763 GB, free: 41.53 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.4738, allocations: 3.938 kB / 0.5763 GB, free: 41.52 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4738, allocations: 0 / 0.5763 GB, free: 41.52 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.4738, allocations: 0 / 0.5763 GB, free: 41.52 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.0002549/0.4741, allocations: 325.5 kB / 0.5766 GB, free: 41.16 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.4741, allocations: 9.312 kB / 0.5766 GB, free: 41.16 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.16e-05/0.4741, allocations: 4.938 kB / 0.5766 GB, free: 41.16 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.914e-05/0.4742, allocations: 167.7 kB / 0.5768 GB, free: 40.96 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.4742, allocations: 1.719 kB / 0.5768 GB, free: 40.96 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.4743, allocations: 5.875 kB / 0.5768 GB, free: 40.95 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.79e-05/0.4744, allocations: 34.53 kB / 0.5768 GB, free: 40.92 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.4744, allocations: 192 / 0.5768 GB, free: 40.92 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-06/0.4744, allocations: 3.938 kB / 0.5768 GB, free: 40.91 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.4744, allocations: 1.594 kB / 0.5768 GB, free: 40.91 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.054e-05/0.4745, allocations: 16.08 kB / 0.5768 GB, free: 40.9 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001223/0.4746, allocations: 153.2 kB / 0.577 GB, free: 40.71 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.4748, allocations: 43.41 kB / 0.577 GB, free: 40.67 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.443e-05/0.4748, allocations: 9.297 kB / 0.577 GB, free: 40.66 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/0.4749, allocations: 0 / 0.577 GB, free: 40.66 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.416e-05/0.4749, allocations: 36.25 kB / 0.5771 GB, free: 40.62 MB / 462.3 MB Notification: Performance of pre-optimization done (n=3): time 9.71e-07/0.4749, allocations: 4 kB / 0.5771 GB, free: 40.62 MB / 462.3 MB Notification: Performance of matching and sorting (n=3): time 0.0001416/0.475, allocations: 55.14 kB / 0.5771 GB, free: 40.57 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.95e-05/0.4751, allocations: 52.88 kB / 0.5772 GB, free: 40.51 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.135e-05/0.4751, allocations: 91.55 kB / 0.5772 GB, free: 40.41 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.4751, allocations: 27.45 kB / 0.5773 GB, free: 40.38 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.243e-05/0.4752, allocations: 84.08 kB / 0.5774 GB, free: 40.29 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.638e-05/0.4752, allocations: 9.031 kB / 0.5774 GB, free: 40.29 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.591e-05/0.4752, allocations: 11.16 kB / 0.5774 GB, free: 40.27 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.913e-05/0.4753, allocations: 320 kB / 0.5777 GB, free: 39.95 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.097e-05/0.4753, allocations: 10.75 kB / 0.5777 GB, free: 39.94 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.748e-05/0.4753, allocations: 5.406 kB / 0.5777 GB, free: 39.94 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.708e-05/0.4754, allocations: 20.56 kB / 0.5777 GB, free: 39.93 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4754, allocations: 1.781 kB / 0.5777 GB, free: 39.93 MB / 462.3 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.695e-05/0.4755, allocations: 58.39 kB / 0.5778 GB, free: 39.88 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.4755, allocations: 7.875 kB / 0.5778 GB, free: 39.88 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.4755, allocations: 7.875 kB / 0.5778 GB, free: 39.87 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.4756, allocations: 1.844 kB / 0.5778 GB, free: 39.87 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.253e-05/0.4756, allocations: 13.28 kB / 0.5778 GB, free: 39.86 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.4756, allocations: 0 / 0.5778 GB, free: 39.86 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.658e-05/0.4757, allocations: 5.781 kB / 0.5778 GB, free: 39.86 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.4757, allocations: 3.984 kB / 0.5778 GB, free: 39.85 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.795e-05/0.4757, allocations: 107.6 kB / 0.5779 GB, free: 39.74 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.179e-05/0.4758, allocations: 1.844 kB / 0.5779 GB, free: 39.74 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001685/0.4759, allocations: 72.77 kB / 0.578 GB, free: 39.67 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.476, allocations: 5.844 kB / 0.578 GB, free: 39.67 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.476, allocations: 0 / 0.578 GB, free: 39.67 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.476, allocations: 0 / 0.578 GB, free: 39.67 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.279e-05/0.4761, allocations: 165.8 kB / 0.5781 GB, free: 39.46 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.4761, allocations: 0 / 0.5781 GB, free: 39.46 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.809e-05/0.4762, allocations: 15.38 kB / 0.5782 GB, free: 39.45 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.4762, allocations: 1.344 kB / 0.5782 GB, free: 39.45 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.4762, allocations: 3.938 kB / 0.5782 GB, free: 39.45 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.4762, allocations: 1.344 kB / 0.5782 GB, free: 39.45 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4762, allocations: 0 / 0.5782 GB, free: 39.45 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001683/0.4764, allocations: 105.9 kB / 0.5783 GB, free: 39.36 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.737e-05/0.4764, allocations: 78.48 kB / 0.5783 GB, free: 39.26 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.4764, allocations: 5.312 kB / 0.5783 GB, free: 39.26 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.574e-05/0.4765, allocations: 0 / 0.5783 GB, free: 39.26 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.06e-05/0.4765, allocations: 6.734 kB / 0.5784 GB, free: 39.25 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.4765, allocations: 1.375 kB / 0.5784 GB, free: 39.25 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.72e-05/0.4765, allocations: 80.66 kB / 0.5784 GB, free: 39.18 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4765, allocations: 160 / 0.5784 GB, free: 39.18 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.000301/0.4769, allocations: 12.25 kB / 0.5784 GB, free: 39.17 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.0001074/0.477, allocations: 107.6 kB / 0.5785 GB, free: 39.07 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001007/0.4771, allocations: 18.91 kB / 0.5786 GB, free: 39.07 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4771, allocations: 0 / 0.5786 GB, free: 39.07 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 3.676e-05/0.4771, allocations: 22.52 kB / 0.5786 GB, free: 39.05 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001995/0.4774, allocations: 6.5 kB / 0.5786 GB, free: 39.05 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002693/0.4776, allocations: 139.3 kB / 0.5787 GB, free: 38.91 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.39e-05/0.4777, allocations: 0.6794 MB / 0.5794 GB, free: 38.21 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 3.463e-05/0.4778, allocations: 7.594 kB / 0.5794 GB, free: 38.2 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.341e-05/0.4778, allocations: 11.41 kB / 0.5794 GB, free: 38.2 MB / 462.3 MB Notification: Performance of SimCode: time 4.21e-07/0.4778, allocations: 0 / 0.5794 GB, free: 38.2 MB / 462.3 MB Notification: Performance of Templates: time 0.002386/0.4802, allocations: 0.5587 MB / 0.58 GB, free: 37.9 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