Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_OB_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_OB_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_OB_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.0009232/0.0009232, allocations: 102.7 kB / 17.01 MB, free: 5.789 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.0008313/0.0008313, allocations: 196.5 kB / 17.96 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.3786/0.3786, allocations: 225.7 MB / 244.4 MB, free: 6.148 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5955/0.5955, allocations: 119.5 MB / 414 MB, free: 10.32 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001002/0.001002, allocations: 59.91 kB / 0.4945 GB, free: 13.83 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4203/0.4213, allocations: 80.68 MB / 0.5733 GB, free: 56.44 MB / 478.2 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001212/0.4226, allocations: 410.2 kB / 0.5737 GB, free: 56.21 MB / 478.2 MB Notification: Performance of NFInst.instExpressions: time 0.0003341/0.4229, allocations: 227.5 kB / 0.5739 GB, free: 56.07 MB / 478.2 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.835e-05/0.423, allocations: 1.375 kB / 0.5739 GB, free: 56.07 MB / 478.2 MB Notification: Performance of NFTyping.typeComponents: time 1.234e-05/0.423, allocations: 0 / 0.5739 GB, free: 56.07 MB / 478.2 MB Notification: Performance of NFTyping.typeBindings: time 9.713e-05/0.4231, allocations: 9.672 kB / 0.574 GB, free: 56.07 MB / 478.2 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001004/0.4232, allocations: 23.25 kB / 0.574 GB, free: 56.05 MB / 478.2 MB Notification: Performance of NFFlatten.flatten: time 3.715e-05/0.4232, allocations: 11.23 kB / 0.574 GB, free: 56.05 MB / 478.2 MB Notification: Performance of NFFlatten.resolveConnections: time 4.373e-05/0.4233, allocations: 2.875 kB / 0.574 GB, free: 56.05 MB / 478.2 MB Notification: Performance of NFEvalConstants.evaluate: time 1.625e-05/0.4233, allocations: 5.969 kB / 0.574 GB, free: 56.05 MB / 478.2 MB Notification: Performance of NFSimplifyModel.simplify: time 3.571e-05/0.4234, allocations: 8.438 kB / 0.574 GB, free: 56.04 MB / 478.2 MB Notification: Performance of NFPackage.collectConstants: time 9.739e-06/0.4234, allocations: 0.6562 kB / 0.574 GB, free: 56.04 MB / 478.2 MB Notification: Performance of NFFlatten.collectFunctions: time 6.687e-05/0.4234, allocations: 22.2 kB / 0.574 GB, free: 56.04 MB / 478.2 MB Notification: Performance of NFScalarize.scalarize: time 9.007e-06/0.4235, allocations: 0 / 0.574 GB, free: 56.04 MB / 478.2 MB Notification: Performance of NFVerifyModel.verify: time 1.489e-05/0.4235, allocations: 14.78 kB / 0.574 GB, free: 56.03 MB / 478.2 MB Notification: Performance of NFConvertDAE.convert: time 6.998e-05/0.4236, allocations: 19.52 kB / 0.5741 GB, free: 56.03 MB / 478.2 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.4236, allocations: 0 / 0.5741 GB, free: 56.03 MB / 478.2 MB Notification: Performance of FrontEnd: time 9.62e-07/0.4236, allocations: 7.875 kB / 0.5741 GB, free: 56.02 MB / 478.2 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.4236, allocations: 0 / 0.5741 GB, free: 56.02 MB / 478.2 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.0002379/0.4238, allocations: 331.3 kB / 0.5744 GB, free: 55.66 MB / 478.2 MB Notification: Performance of prepare preOptimizeDAE: time 2.723e-05/0.4238, allocations: 10.47 kB / 0.5744 GB, free: 55.66 MB / 478.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.322e-05/0.4239, allocations: 6.094 kB / 0.5744 GB, free: 55.65 MB / 478.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.845e-05/0.4239, allocations: 161.6 kB / 0.5746 GB, free: 55.46 MB / 478.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.42e-06/0.4239, allocations: 2.188 kB / 0.5746 GB, free: 55.46 MB / 478.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.424, allocations: 4.203 kB / 0.5746 GB, free: 55.46 MB / 478.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.409e-05/0.424, allocations: 38.91 kB / 0.5746 GB, free: 55.42 MB / 478.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.424, allocations: 0 / 0.5746 GB, free: 55.42 MB / 478.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.592e-06/0.4241, allocations: 4.734 kB / 0.5746 GB, free: 55.42 MB / 478.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.4241, allocations: 5.281 kB / 0.5746 GB, free: 55.41 MB / 478.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.667e-05/0.4241, allocations: 6.625 kB / 0.5746 GB, free: 55.41 MB / 478.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.191e-05/0.4242, allocations: 160.5 kB / 0.5748 GB, free: 55.22 MB / 478.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.4244, allocations: 44.22 kB / 0.5748 GB, free: 55.19 MB / 478.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.813e-05/0.4244, allocations: 9.297 kB / 0.5748 GB, free: 55.18 MB / 478.2 MB Notification: Performance of preOpt evalFunc (simulation): time 8.305e-06/0.4244, allocations: 0.6094 kB / 0.5748 GB, free: 55.18 MB / 478.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.448e-06/0.4244, allocations: 40.41 kB / 0.5749 GB, free: 55.13 MB / 478.2 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.4244, allocations: 0 / 0.5749 GB, free: 55.13 MB / 478.2 MB Notification: Performance of matching and sorting (n=3): time 0.0001099/0.4245, allocations: 56.42 kB / 0.5749 GB, free: 55.09 MB / 478.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.46e-05/0.4245, allocations: 53.17 kB / 0.575 GB, free: 55.03 MB / 478.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.204e-05/0.4246, allocations: 93.66 kB / 0.575 GB, free: 54.93 MB / 478.2 MB Notification: Performance of collectPreVariables (initialization): time 5.47e-06/0.4246, allocations: 25.7 kB / 0.5751 GB, free: 54.9 MB / 478.2 MB Notification: Performance of collectInitialEqns (initialization): time 9.468e-06/0.4246, allocations: 81.42 kB / 0.5752 GB, free: 54.82 MB / 478.2 MB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/0.4246, allocations: 18.41 kB / 0.5752 GB, free: 54.8 MB / 478.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.276e-05/0.4247, allocations: 18.89 kB / 0.5752 GB, free: 54.78 MB / 478.2 MB Notification: Performance of setup shared object (initialization): time 3.096e-05/0.4247, allocations: 317.8 kB / 0.5755 GB, free: 54.46 MB / 478.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.432e-05/0.4247, allocations: 4.797 kB / 0.5755 GB, free: 54.46 MB / 478.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.215e-05/0.4247, allocations: 8.438 kB / 0.5755 GB, free: 54.46 MB / 478.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.207e-05/0.4248, allocations: 19.58 kB / 0.5755 GB, free: 54.45 MB / 478.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.4248, allocations: 0 / 0.5755 GB, free: 54.45 MB / 478.2 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.825e-05/0.4248, allocations: 51.59 kB / 0.5756 GB, free: 54.41 MB / 478.2 MB Notification: Performance of prepare postOptimizeDAE: time 8.997e-06/0.4248, allocations: 5.062 kB / 0.5756 GB, free: 54.41 MB / 478.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.4249, allocations: 5.922 kB / 0.5756 GB, free: 54.41 MB / 478.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.287e-06/0.4249, allocations: 4 kB / 0.5756 GB, free: 54.4 MB / 478.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.818e-05/0.4249, allocations: 7.828 kB / 0.5756 GB, free: 54.4 MB / 478.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.4249, allocations: 3.938 kB / 0.5756 GB, free: 54.4 MB / 478.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.644e-05/0.4249, allocations: 5.281 kB / 0.5756 GB, free: 54.39 MB / 478.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.4249, allocations: 1.906 kB / 0.5756 GB, free: 54.39 MB / 478.2 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.307e-05/0.425, allocations: 112.2 kB / 0.5757 GB, free: 54.28 MB / 478.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.754e-06/0.425, allocations: 1.281 kB / 0.5757 GB, free: 54.28 MB / 478.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.4251, allocations: 76.53 kB / 0.5758 GB, free: 54.21 MB / 478.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.4251, allocations: 9.219 kB / 0.5758 GB, free: 54.21 MB / 478.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.4251, allocations: 0 / 0.5758 GB, free: 54.21 MB / 478.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.4251, allocations: 0.75 kB / 0.5758 GB, free: 54.21 MB / 478.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.299e-05/0.4252, allocations: 157.5 kB / 0.5759 GB, free: 54.02 MB / 478.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.4252, allocations: 0 / 0.5759 GB, free: 54.02 MB / 478.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.826e-05/0.4252, allocations: 10.34 kB / 0.576 GB, free: 54.02 MB / 478.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.4252, allocations: 0 / 0.576 GB, free: 54.02 MB / 478.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.4253, allocations: 5.891 kB / 0.576 GB, free: 54.01 MB / 478.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.4253, allocations: 0 / 0.576 GB, free: 54.01 MB / 478.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.4253, allocations: 1.281 kB / 0.576 GB, free: 54.01 MB / 478.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001038/0.4254, allocations: 108.2 kB / 0.5761 GB, free: 53.92 MB / 478.2 MB Notification: Performance of postOpt removeConstants (simulation): time 1.29e-05/0.4254, allocations: 80.84 kB / 0.5761 GB, free: 53.83 MB / 478.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.4254, allocations: 4.688 kB / 0.5761 GB, free: 53.82 MB / 478.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.748e-05/0.4254, allocations: 5.281 kB / 0.5761 GB, free: 53.82 MB / 478.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.531e-05/0.4254, allocations: 4.359 kB / 0.5762 GB, free: 53.82 MB / 478.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.4255, allocations: 1.906 kB / 0.5762 GB, free: 53.82 MB / 478.2 MB Notification: Performance of sorting global known variables: time 1.324e-05/0.4255, allocations: 77.23 kB / 0.5762 GB, free: 53.75 MB / 478.2 MB Notification: Performance of sort global known variables: time 1e-07/0.4255, allocations: 4.156 kB / 0.5762 GB, free: 53.74 MB / 478.2 MB Notification: Performance of remove unused functions: time 0.0001598/0.4256, allocations: 8.391 kB / 0.5762 GB, free: 53.74 MB / 478.2 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 7.419e-05/0.4257, allocations: 104.5 kB / 0.5763 GB, free: 53.65 MB / 478.2 MB Notification: Performance of simCode: created initialization part: time 7.199e-05/0.4258, allocations: 22.34 kB / 0.5764 GB, free: 53.64 MB / 478.2 MB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.4258, allocations: 0 / 0.5764 GB, free: 53.64 MB / 478.2 MB Notification: Performance of simCode: created simulation system equations: time 2.21e-05/0.4258, allocations: 21.2 kB / 0.5764 GB, free: 53.64 MB / 478.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001127/0.4259, allocations: 3.375 kB / 0.5764 GB, free: 53.64 MB / 478.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001847/0.4261, allocations: 132.3 kB / 0.5765 GB, free: 53.51 MB / 478.2 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.132e-05/0.4262, allocations: 0.6818 MB / 0.5772 GB, free: 52.82 MB / 478.2 MB Notification: Performance of simCode: alias equations: time 2.015e-05/0.4263, allocations: 8.719 kB / 0.5772 GB, free: 52.81 MB / 478.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.626e-05/0.4263, allocations: 10.86 kB / 0.5772 GB, free: 52.8 MB / 478.2 MB Notification: Performance of SimCode: time 2.2e-07/0.4263, allocations: 3.938 kB / 0.5772 GB, free: 52.8 MB / 478.2 MB Notification: Performance of Templates: time 0.00246/0.4288, allocations: 0.6207 MB / 0.5778 GB, free: 52.66 MB / 478.2 MB make -j1 -f ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.makefile (rm -f ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; mkfifo ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; head -c 1048576 < ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe >> ../files/ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.sim & ./ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe 2>&1) diffSimulationResults("ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","../files/ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches