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.001524/0.001524, allocations: 113 kB / 17.06 MB, free: 5.992 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.001443/0.001443, allocations: 197.3 kB / 18.01 MB, free: 5.066 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.441/1.441, 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.115/1.115, allocations: 119.3 MB / 411.2 MB, free: 9.465 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 66 kB / 0.5709 GB, free: 39.79 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1501, 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.001526/0.1517, allocations: 412.9 kB / 0.6501 GB, free: 12.67 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0004721/0.1522, allocations: 219.3 kB / 0.6503 GB, free: 12.45 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.552e-05/0.1522, allocations: 0 / 0.6503 GB, free: 12.45 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 1.715e-05/0.1522, allocations: 0 / 0.6503 GB, free: 12.45 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001317/0.1524, allocations: 11.94 kB / 0.6503 GB, free: 12.44 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001223/0.1525, allocations: 23.91 kB / 0.6503 GB, free: 12.42 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 4.792e-05/0.1526, allocations: 11.98 kB / 0.6503 GB, free: 12.41 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.333e-05/0.1526, allocations: 0 / 0.6503 GB, free: 12.41 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 2.55e-05/0.1527, allocations: 8 kB / 0.6504 GB, free: 12.4 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 5.074e-05/0.1527, allocations: 7.922 kB / 0.6504 GB, free: 12.39 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.1527, allocations: 4 kB / 0.6504 GB, free: 12.39 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 8.655e-05/0.1528, allocations: 19.98 kB / 0.6504 GB, free: 12.37 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 1.201e-05/0.1528, allocations: 0 / 0.6504 GB, free: 12.37 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 2.175e-05/0.1529, allocations: 7.922 kB / 0.6504 GB, free: 12.36 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.153, allocations: 27.91 kB / 0.6504 GB, free: 12.33 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.153, allocations: 4 kB / 0.6504 GB, free: 12.33 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.242e-06/0.153, allocations: 3.938 kB / 0.6504 GB, free: 12.32 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.12e-05/0.153, allocations: 3.938 kB / 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.0004574/0.1535, allocations: 327.8 kB / 0.6507 GB, free: 11.95 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.1535, allocations: 8.031 kB / 0.6508 GB, free: 11.94 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.799e-05/0.1536, allocations: 0.9375 kB / 0.6508 GB, free: 11.94 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.1537, allocations: 160.4 kB / 0.6509 GB, free: 11.75 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.1537, allocations: 8.359 kB / 0.6509 GB, free: 11.74 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.1538, allocations: 4.375 kB / 0.6509 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.1539, allocations: 38.25 kB / 0.651 GB, free: 11.69 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.1539, allocations: 192 / 0.651 GB, free: 11.69 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.1539, allocations: 3.938 kB / 0.651 GB, free: 11.69 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.1539, allocations: 3.938 kB / 0.651 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.199e-05/0.154, allocations: 8 kB / 0.651 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002015/0.1542, allocations: 161.5 kB / 0.6511 GB, free: 11.47 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002281/0.1544, allocations: 42.61 kB / 0.6512 GB, free: 11.42 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.366e-05/0.1545, allocations: 24.91 kB / 0.6512 GB, free: 11.39 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.1545, allocations: 96 / 0.6512 GB, free: 11.39 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.1545, allocations: 34.55 kB / 0.6512 GB, free: 11.35 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.1545, allocations: 0 / 0.6512 GB, free: 11.35 MB / 0.4983 GB Notification: Performance of matching and sorting (n=3): time 0.0001767/0.1547, allocations: 61.52 kB / 0.6513 GB, free: 11.28 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.112e-05/0.1548, allocations: 51.41 kB / 0.6513 GB, free: 11.22 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.045e-05/0.1548, allocations: 93.86 kB / 0.6514 GB, free: 11.12 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.1549, allocations: 33.7 kB / 0.6515 GB, free: 11.08 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 4.734e-05/0.1549, allocations: 80.14 kB / 0.6515 GB, free: 11 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 3.059e-05/0.155, allocations: 11.92 kB / 0.6515 GB, free: 10.98 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.791e-05/0.155, allocations: 17.72 kB / 0.6516 GB, free: 10.96 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1552, allocations: 310.8 kB / 0.6519 GB, free: 10.65 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.355e-05/0.1552, allocations: 7.984 kB / 0.6519 GB, free: 10.64 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.89e-05/0.1552, allocations: 8 kB / 0.6519 GB, free: 10.63 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.918e-05/0.1553, allocations: 20.98 kB / 0.6519 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.1553, allocations: 0 / 0.6519 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.859e-05/0.1554, allocations: 53.62 kB / 0.6519 GB, free: 10.55 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.1554, allocations: 6.812 kB / 0.6519 GB, free: 10.55 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.1554, allocations: 3.938 kB / 0.6519 GB, free: 10.54 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.1555, allocations: 7.984 kB / 0.652 GB, free: 10.54 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.402e-05/0.1555, allocations: 4 kB / 0.652 GB, free: 10.53 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1555, allocations: 0 / 0.652 GB, free: 10.53 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.569e-05/0.1555, allocations: 7.953 kB / 0.652 GB, free: 10.52 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-06/0.1556, 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.746e-05/0.1557, allocations: 110.7 kB / 0.6521 GB, free: 10.4 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.225e-06/0.1557, allocations: 0 / 0.6521 GB, free: 10.4 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001695/0.1558, allocations: 81.03 kB / 0.6522 GB, free: 10.31 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.1559, allocations: 4 kB / 0.6522 GB, free: 10.31 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.1559, allocations: 3.938 kB / 0.6522 GB, free: 10.3 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1559, allocations: 0 / 0.6522 GB, free: 10.3 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.156, allocations: 157.7 kB / 0.6523 GB, free: 10.1 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.156, allocations: 0 / 0.6523 GB, free: 10.1 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.671e-05/0.1561, allocations: 15.92 kB / 0.6523 GB, free: 10.09 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1561, allocations: 4 kB / 0.6523 GB, free: 10.08 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.1561, allocations: 7.938 kB / 0.6523 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1561, allocations: 0 / 0.6523 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1561, allocations: 0 / 0.6523 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/0.1563, allocations: 105.1 kB / 0.6524 GB, free: 9.953 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 5.922e-05/0.1564, allocations: 85.05 kB / 0.6525 GB, free: 9.852 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.1564, allocations: 7.938 kB / 0.6525 GB, free: 9.844 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.897e-05/0.1564, allocations: 64 / 0.6525 GB, free: 9.844 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.603e-05/0.1564, allocations: 8.031 kB / 0.6525 GB, free: 9.836 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-06/0.1564, allocations: 0 / 0.6525 GB, free: 9.836 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 4.272e-05/0.1565, allocations: 83.27 kB / 0.6526 GB, free: 9.754 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1e-07/0.1565, allocations: 0 / 0.6526 GB, free: 9.754 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0001917/0.1567, allocations: 12 kB / 0.6526 GB, free: 9.742 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.000137/0.1568, allocations: 99.72 kB / 0.6527 GB, free: 9.633 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0001073/0.1569, allocations: 19.98 kB / 0.6527 GB, free: 9.613 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.157, allocations: 8.094 kB / 0.6527 GB, free: 9.605 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 2.911e-05/0.157, allocations: 15.94 kB / 0.6528 GB, free: 9.59 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001372/0.1571, allocations: 4 kB / 0.6528 GB, free: 9.586 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000286/0.1574, allocations: 125.5 kB / 0.6529 GB, free: 9.438 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.1578, allocations: 0.6809 MB / 0.6536 GB, free: 8.73 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 2.266e-05/0.1578, allocations: 4 kB / 0.6536 GB, free: 8.727 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.421e-05/0.1578, allocations: 15.44 kB / 0.6536 GB, free: 8.711 MB / 0.4983 GB Notification: Performance of SimCode: time 2.1e-07/0.1578, allocations: 0 / 0.6536 GB, free: 8.711 MB / 0.4983 GB Notification: Performance of Templates: time 0.003128/0.161, allocations: 0.5755 MB / 0.6541 GB, free: 8.148 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