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.001297/0.001297, allocations: 110.7 kB / 17.07 MB, free: 6.113 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.001247/0.001247, allocations: 197.4 kB / 18 MB, free: 5.191 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.433/1.433, allocations: 222.9 MB / 241.7 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.149/1.149, allocations: 119.3 MB / 411.2 MB, free: 9.48 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00185/0.00185, allocations: 71.48 kB / 0.5709 GB, free: 39.73 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1604, allocations: 80.69 MB / 0.6497 GB, free: 13.07 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001618/0.162, allocations: 405 kB / 0.6501 GB, free: 12.68 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0006139/0.1627, allocations: 231.2 kB / 0.6503 GB, free: 12.45 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.377e-05/0.1627, allocations: 4 kB / 0.6503 GB, free: 12.45 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 1.141e-05/0.1627, allocations: 0 / 0.6503 GB, free: 12.45 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001356/0.1629, allocations: 0 / 0.6503 GB, free: 12.45 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001312/0.163, allocations: 23.92 kB / 0.6503 GB, free: 12.42 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 5.36e-05/0.1631, allocations: 15.91 kB / 0.6503 GB, free: 12.41 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.421e-05/0.1631, allocations: 0 / 0.6503 GB, free: 12.41 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 1.973e-05/0.1632, allocations: 4 kB / 0.6503 GB, free: 12.4 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 5.316e-05/0.1632, allocations: 11.94 kB / 0.6504 GB, free: 12.39 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.1632, allocations: 3.938 kB / 0.6504 GB, free: 12.39 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 9.111e-05/0.1633, allocations: 23.97 kB / 0.6504 GB, free: 12.36 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 1.111e-05/0.1634, allocations: 4 kB / 0.6504 GB, free: 12.36 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 2.043e-05/0.1634, allocations: 7.922 kB / 0.6504 GB, free: 12.35 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0001008/0.1635, allocations: 27.91 kB / 0.6504 GB, free: 12.32 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1635, allocations: 0 / 0.6504 GB, free: 12.32 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1635, allocations: 0 / 0.6504 GB, free: 12.32 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.1635, allocations: 0 / 0.6504 GB, free: 12.32 MB / 0.4983 GB 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.000426/0.1639, allocations: 327.8 kB / 0.6507 GB, free: 11.95 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.164, allocations: 8.031 kB / 0.6507 GB, free: 11.95 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.307e-05/0.164, allocations: 0.9375 kB / 0.6507 GB, free: 11.95 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.1642, allocations: 168.4 kB / 0.6509 GB, free: 11.74 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.1642, allocations: 384 / 0.6509 GB, free: 11.74 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.1642, allocations: 384 / 0.6509 GB, free: 11.74 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.1643, allocations: 42.19 kB / 0.6509 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.1643, allocations: 4.188 kB / 0.651 GB, free: 11.69 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.1644, allocations: 3.938 kB / 0.651 GB, free: 11.69 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1644, allocations: 0 / 0.651 GB, free: 11.69 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.033e-05/0.1644, allocations: 7.984 kB / 0.651 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001874/0.1646, allocations: 161.6 kB / 0.6511 GB, free: 11.47 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/0.1648, allocations: 42.56 kB / 0.6512 GB, free: 11.42 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.892e-05/0.1649, allocations: 16.86 kB / 0.6512 GB, free: 11.4 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.1649, allocations: 3.984 kB / 0.6512 GB, free: 11.4 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.1649, allocations: 34.56 kB / 0.6512 GB, free: 11.36 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=3): time 1.323e-06/0.1649, allocations: 0 / 0.6512 GB, free: 11.36 MB / 0.4983 GB Notification: Performance of matching and sorting (n=3): time 0.0001664/0.1651, allocations: 61.66 kB / 0.6513 GB, free: 11.29 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.1651, allocations: 51.41 kB / 0.6513 GB, free: 11.23 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.344e-05/0.1652, allocations: 97.86 kB / 0.6514 GB, free: 11.12 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.1653, allocations: 25.7 kB / 0.6514 GB, free: 11.09 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 3.861e-05/0.1653, allocations: 80.14 kB / 0.6515 GB, free: 11.01 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.1653, allocations: 7.953 kB / 0.6515 GB, free: 11 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.239e-05/0.1654, allocations: 17.7 kB / 0.6515 GB, free: 10.98 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.1655, allocations: 318.8 kB / 0.6518 GB, free: 10.66 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.654e-05/0.1655, allocations: 3.938 kB / 0.6518 GB, free: 10.65 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.772e-05/0.1656, allocations: 16.11 kB / 0.6519 GB, free: 10.64 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.441e-05/0.1656, allocations: 20.86 kB / 0.6519 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1656, allocations: 0 / 0.6519 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.866e-05/0.1657, allocations: 45.69 kB / 0.6519 GB, free: 10.56 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.1657, allocations: 8 kB / 0.6519 GB, free: 10.55 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.1658, allocations: 3.938 kB / 0.6519 GB, free: 10.55 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.1658, allocations: 0 / 0.6519 GB, free: 10.55 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.496e-05/0.1658, allocations: 11.92 kB / 0.6519 GB, free: 10.54 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.1658, allocations: 3.938 kB / 0.6519 GB, free: 10.54 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.23e-05/0.1659, allocations: 7.953 kB / 0.652 GB, free: 10.53 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.1659, allocations: 4 kB / 0.652 GB, free: 10.52 MB / 0.4983 GB 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 8.636e-05/0.166, allocations: 110.7 kB / 0.6521 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.079e-05/0.166, allocations: 4 kB / 0.6521 GB, free: 10.4 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001671/0.1662, allocations: 73.11 kB / 0.6521 GB, free: 10.32 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.1662, allocations: 64 / 0.6521 GB, free: 10.32 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.1662, allocations: 4 kB / 0.6521 GB, free: 10.32 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1662, allocations: 0 / 0.6521 GB, free: 10.32 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.1663, allocations: 161.7 kB / 0.6523 GB, free: 10.11 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.1663, allocations: 4 kB / 0.6523 GB, free: 10.11 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.923e-05/0.1664, allocations: 11.94 kB / 0.6523 GB, free: 10.09 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.1664, allocations: 3.984 kB / 0.6523 GB, free: 10.09 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.1664, allocations: 7.875 kB / 0.6523 GB, free: 10.08 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1664, allocations: 4 kB / 0.6523 GB, free: 10.08 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1664, allocations: 0 / 0.6523 GB, free: 10.08 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001648/0.1666, allocations: 101.1 kB / 0.6524 GB, free: 9.961 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 5.638e-05/0.1667, allocations: 81.05 kB / 0.6525 GB, free: 9.863 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.1667, allocations: 11.98 kB / 0.6525 GB, free: 9.852 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.086e-05/0.1667, allocations: 8.031 kB / 0.6525 GB, free: 9.844 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.321e-05/0.1668, allocations: 0 / 0.6525 GB, free: 9.844 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.1668, allocations: 4 kB / 0.6525 GB, free: 9.84 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 4.012e-05/0.1668, allocations: 75.28 kB / 0.6526 GB, free: 9.766 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1668, allocations: 0 / 0.6526 GB, free: 9.766 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.000188/0.167, allocations: 8 kB / 0.6526 GB, free: 9.758 MB / 0.4983 GB 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.0001581/0.1672, allocations: 111.7 kB / 0.6527 GB, free: 9.637 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0001256/0.1673, allocations: 27.98 kB / 0.6527 GB, free: 9.609 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1673, allocations: 0 / 0.6527 GB, free: 9.609 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 2.723e-05/0.1673, allocations: 16 kB / 0.6528 GB, free: 9.594 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.1675, allocations: 0 / 0.6528 GB, free: 9.594 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003103/0.1678, allocations: 129.5 kB / 0.6529 GB, free: 9.441 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.1682, allocations: 0.6844 MB / 0.6535 GB, free: 8.73 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 2.936e-05/0.1682, allocations: 8 kB / 0.6536 GB, free: 8.723 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.422e-05/0.1682, allocations: 7.438 kB / 0.6536 GB, free: 8.715 MB / 0.4983 GB Notification: Performance of SimCode: time 4.01e-07/0.1682, allocations: 0 / 0.6536 GB, free: 8.715 MB / 0.4983 GB Notification: Performance of Templates: time 0.002926/0.1712, allocations: 0.5765 MB / 0.6541 GB, free: 8.152 MB / 0.4983 GB 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches