Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.001076/0.001075, allocations: 88.52 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.001109/0.001109, allocations: 173.9 kB / 17.56 MB, free: 6.184 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.261/1.261, allocations: 223.3 MB / 241.6 MB, free: 180 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8157/0.8157, allocations: 120.5 MB / 413.2 MB, free: 9.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002859/0.0002859, allocations: 11.98 kB / 0.4949 GB, free: 11.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4502/0.4505, allocations: 82.84 MB / 0.5758 GB, free: 41.91 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.0003833/0.4509, allocations: 131.6 kB / 0.5759 GB, free: 41.82 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0003798/0.4513, allocations: 216 kB / 0.5761 GB, free: 41.66 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.552e-05/0.4513, allocations: 5.094 kB / 0.5761 GB, free: 41.66 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 1.001e-05/0.4514, allocations: 0 / 0.5761 GB, free: 41.66 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001164/0.4515, allocations: 1.25 kB / 0.5761 GB, free: 41.66 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 8.149e-05/0.4516, allocations: 25.97 kB / 0.5762 GB, free: 41.64 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 3.663e-05/0.4516, allocations: 8.547 kB / 0.5762 GB, free: 41.63 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.362e-05/0.4517, allocations: 1.188 kB / 0.5762 GB, free: 41.63 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 1.82e-05/0.4517, allocations: 6.625 kB / 0.5762 GB, free: 41.63 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 4.61e-05/0.4517, allocations: 6.719 kB / 0.5762 GB, free: 41.62 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.019e-05/0.4517, allocations: 2.219 kB / 0.5762 GB, free: 41.62 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 7.022e-05/0.4518, allocations: 26.98 kB / 0.5762 GB, free: 41.61 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 9.588e-06/0.4518, allocations: 4 kB / 0.5762 GB, free: 41.61 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 1.972e-05/0.4519, allocations: 31.52 kB / 0.5762 GB, free: 41.57 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 7.09e-05/0.4519, allocations: 29.69 kB / 0.5763 GB, free: 41.55 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.452, allocations: 0 / 0.5763 GB, free: 41.55 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.333e-06/0.452, allocations: 0 / 0.5763 GB, free: 41.55 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.056e-06/0.452, allocations: 3.938 kB / 0.5763 GB, free: 41.55 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.000222/0.4522, allocations: 321.2 kB / 0.5766 GB, free: 41.19 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.4522, allocations: 9.75 kB / 0.5766 GB, free: 41.19 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.456e-05/0.4523, allocations: 0.9375 kB / 0.5766 GB, free: 41.19 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.742e-05/0.4523, allocations: 180.2 kB / 0.5768 GB, free: 40.98 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.4523, allocations: 384 / 0.5768 GB, free: 40.98 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.4524, allocations: 2.281 kB / 0.5768 GB, free: 40.98 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.002e-05/0.4524, allocations: 33.84 kB / 0.5768 GB, free: 40.94 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.4525, allocations: 192 / 0.5768 GB, free: 40.94 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.4525, allocations: 5.562 kB / 0.5768 GB, free: 40.94 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.4525, allocations: 0 / 0.5768 GB, free: 40.94 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.67e-05/0.4525, allocations: 16.3 kB / 0.5768 GB, free: 40.93 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001235/0.4527, allocations: 153 kB / 0.577 GB, free: 40.73 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.4529, allocations: 44.03 kB / 0.577 GB, free: 40.7 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.082e-05/0.4529, allocations: 9.453 kB / 0.577 GB, free: 40.69 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 9.728e-06/0.4529, allocations: 0 / 0.577 GB, free: 40.69 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.598e-05/0.4529, allocations: 32.09 kB / 0.577 GB, free: 40.65 MB / 462.3 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.4529, allocations: 0 / 0.577 GB, free: 40.65 MB / 462.3 MB Notification: Performance of matching and sorting (n=3): time 0.0001174/0.453, allocations: 59.19 kB / 0.5771 GB, free: 40.6 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.973e-05/0.4531, allocations: 55.39 kB / 0.5772 GB, free: 40.53 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.535e-05/0.4531, allocations: 96.89 kB / 0.5772 GB, free: 40.43 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 6.973e-06/0.4531, allocations: 27.3 kB / 0.5773 GB, free: 40.4 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.13e-05/0.4531, allocations: 80.14 kB / 0.5773 GB, free: 40.32 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.415e-05/0.4532, allocations: 9.156 kB / 0.5774 GB, free: 40.3 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.874e-05/0.4532, allocations: 11.09 kB / 0.5774 GB, free: 40.29 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.432e-05/0.4532, allocations: 316.3 kB / 0.5777 GB, free: 39.97 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.584e-05/0.4533, allocations: 6.938 kB / 0.5777 GB, free: 39.96 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.224e-05/0.4533, allocations: 8.141 kB / 0.5777 GB, free: 39.96 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.514e-05/0.4533, allocations: 26.03 kB / 0.5777 GB, free: 39.94 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.4533, allocations: 3.938 kB / 0.5777 GB, free: 39.94 MB / 462.3 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.579e-05/0.4534, allocations: 60.25 kB / 0.5778 GB, free: 39.89 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 9.688e-06/0.4534, allocations: 4.594 kB / 0.5778 GB, free: 39.89 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.4534, allocations: 3.938 kB / 0.5778 GB, free: 39.88 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.288e-06/0.4534, allocations: 1.406 kB / 0.5778 GB, free: 39.88 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.755e-05/0.4535, allocations: 4.656 kB / 0.5778 GB, free: 39.88 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.4535, allocations: 1.344 kB / 0.5778 GB, free: 39.88 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.957e-05/0.4535, allocations: 3.938 kB / 0.5778 GB, free: 39.88 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.4535, allocations: 9.438 kB / 0.5778 GB, free: 39.87 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 3.947e-05/0.4536, allocations: 111.5 kB / 0.5779 GB, free: 39.75 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.875e-06/0.4536, allocations: 1.438 kB / 0.5779 GB, free: 39.75 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001147/0.4537, allocations: 74 kB / 0.578 GB, free: 39.69 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.4537, allocations: 0 / 0.578 GB, free: 39.69 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.4537, allocations: 9.734 kB / 0.578 GB, free: 39.68 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.4537, allocations: 0 / 0.578 GB, free: 39.68 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.727e-05/0.4538, allocations: 161 kB / 0.5781 GB, free: 39.48 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.4538, allocations: 4 kB / 0.5781 GB, free: 39.48 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.026e-05/0.4538, allocations: 7.312 kB / 0.5781 GB, free: 39.48 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.4539, allocations: 1.812 kB / 0.5782 GB, free: 39.48 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.772e-06/0.4539, allocations: 3.938 kB / 0.5782 GB, free: 39.47 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.4539, allocations: 1.75 kB / 0.5782 GB, free: 39.47 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.4539, allocations: 0 / 0.5782 GB, free: 39.47 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.454, allocations: 105.7 kB / 0.5783 GB, free: 39.38 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.445e-05/0.454, allocations: 78.89 kB / 0.5783 GB, free: 39.29 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.083e-05/0.454, allocations: 8 kB / 0.5783 GB, free: 39.28 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.9e-05/0.4541, allocations: 0 / 0.5783 GB, free: 39.28 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.233e-05/0.4541, allocations: 7.578 kB / 0.5783 GB, free: 39.27 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.4541, allocations: 1.812 kB / 0.5783 GB, free: 39.27 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.428e-05/0.4541, allocations: 77.16 kB / 0.5784 GB, free: 39.2 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4541, allocations: 0 / 0.5784 GB, free: 39.2 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001839/0.4543, allocations: 10.47 kB / 0.5784 GB, free: 39.2 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 8.095e-05/0.4544, allocations: 103.2 kB / 0.5785 GB, free: 39.1 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 7.221e-05/0.4545, allocations: 26.55 kB / 0.5786 GB, free: 39.09 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4545, allocations: 1.375 kB / 0.5786 GB, free: 39.09 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 2.276e-05/0.4545, allocations: 26.86 kB / 0.5786 GB, free: 39.07 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001292/0.4546, allocations: 9.312 kB / 0.5786 GB, free: 39.06 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001993/0.4548, allocations: 132 kB / 0.5787 GB, free: 38.93 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.025e-05/0.4549, allocations: 0.6798 MB / 0.5794 GB, free: 38.23 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 2.373e-05/0.455, allocations: 10.73 kB / 0.5794 GB, free: 38.22 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.541e-05/0.455, allocations: 11.56 kB / 0.5794 GB, free: 38.21 MB / 462.3 MB Notification: Performance of SimCode: time 2.71e-07/0.455, allocations: 0 / 0.5794 GB, free: 38.21 MB / 462.3 MB Notification: Performance of Templates: time 0.002095/0.4571, allocations: 0.5545 MB / 0.5799 GB, free: 37.91 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches