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.001499/0.001499, allocations: 111.7 kB / 17.75 MB, free: 5.332 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.001683/0.001683, allocations: 190.6 kB / 18.68 MB, free: 4.406 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.43/1.43, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9881/0.9881, allocations: 119.3 MB / 411.9 MB, free: 9.508 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 66.14 kB / 0.5716 GB, free: 39.94 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.147, allocations: 80.7 MB / 0.6504 GB, free: 13.21 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001442/0.1485, allocations: 401 kB / 0.6507 GB, free: 12.82 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0004619/0.149, allocations: 227.2 kB / 0.651 GB, free: 12.6 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.69e-05/0.149, allocations: 0 / 0.651 GB, free: 12.6 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 1.314e-05/0.149, allocations: 4 kB / 0.651 GB, free: 12.6 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001359/0.1492, allocations: 3.938 kB / 0.651 GB, free: 12.59 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.000157/0.1493, allocations: 23.91 kB / 0.651 GB, free: 12.57 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 6.208e-05/0.1494, allocations: 11.98 kB / 0.651 GB, free: 12.56 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.437e-05/0.1495, allocations: 4 kB / 0.651 GB, free: 12.55 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 2.81e-05/0.1495, allocations: 4 kB / 0.651 GB, free: 12.55 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 5.369e-05/0.1496, allocations: 7.938 kB / 0.651 GB, free: 12.54 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.1496, allocations: 0 / 0.651 GB, free: 12.54 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.1497, allocations: 23.97 kB / 0.651 GB, free: 12.52 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 1.526e-05/0.1497, allocations: 11.98 kB / 0.6511 GB, free: 12.51 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 2.628e-05/0.1498, allocations: 7.938 kB / 0.6511 GB, free: 12.5 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0001056/0.1499, allocations: 19.97 kB / 0.6511 GB, free: 12.48 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1499, allocations: 3.938 kB / 0.6511 GB, free: 12.48 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.824e-06/0.1499, allocations: 0 / 0.6511 GB, free: 12.48 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.1499, allocations: 0 / 0.6511 GB, free: 12.48 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.0004524/0.1503, allocations: 319.9 kB / 0.6514 GB, free: 12.11 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 5.996e-05/0.1504, allocations: 8.031 kB / 0.6514 GB, free: 12.11 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.501e-05/0.1505, allocations: 0.9375 kB / 0.6514 GB, free: 12.11 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.1506, allocations: 168.3 kB / 0.6516 GB, free: 11.9 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.1507, allocations: 8.375 kB / 0.6516 GB, free: 11.89 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.1507, allocations: 384 / 0.6516 GB, free: 11.89 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.1508, allocations: 34.25 kB / 0.6516 GB, free: 11.86 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.659e-06/0.1508, allocations: 192 / 0.6516 GB, free: 11.86 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.1509, allocations: 3.938 kB / 0.6516 GB, free: 11.85 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.1509, allocations: 4 kB / 0.6516 GB, free: 11.85 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.881e-05/0.1509, allocations: 11.98 kB / 0.6516 GB, free: 11.84 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002236/0.1512, allocations: 165.6 kB / 0.6518 GB, free: 11.62 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002731/0.1515, allocations: 42.56 kB / 0.6518 GB, free: 11.57 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.814e-05/0.1515, allocations: 16.91 kB / 0.6518 GB, free: 11.55 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.1515, allocations: 0 / 0.6518 GB, free: 11.55 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/0.1516, allocations: 30.56 kB / 0.6519 GB, free: 11.52 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.1516, allocations: 0 / 0.6519 GB, free: 11.52 MB / 0.4983 GB Notification: Performance of matching and sorting (n=3): time 0.0002172/0.1518, allocations: 65.55 kB / 0.6519 GB, free: 11.45 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/0.1519, allocations: 55.41 kB / 0.652 GB, free: 11.38 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.568e-05/0.152, allocations: 97.86 kB / 0.6521 GB, free: 11.27 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.152, allocations: 25.7 kB / 0.6521 GB, free: 11.24 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 4.982e-05/0.1521, allocations: 80.14 kB / 0.6522 GB, free: 11.16 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 4.015e-05/0.1521, allocations: 11.84 kB / 0.6522 GB, free: 11.15 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.778e-05/0.1522, allocations: 17.7 kB / 0.6522 GB, free: 11.12 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.1524, allocations: 314.8 kB / 0.6525 GB, free: 10.81 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.789e-05/0.1524, allocations: 4 kB / 0.6525 GB, free: 10.8 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.806e-05/0.1525, allocations: 12.11 kB / 0.6525 GB, free: 10.79 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.284e-05/0.1525, allocations: 24.86 kB / 0.6525 GB, free: 10.77 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.1526, allocations: 0 / 0.6525 GB, free: 10.77 MB / 0.4983 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001156/0.1527, allocations: 49.62 kB / 0.6526 GB, free: 10.71 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.1527, allocations: 4 kB / 0.6526 GB, free: 10.71 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.1527, allocations: 4 kB / 0.6526 GB, free: 10.7 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.1528, allocations: 3.938 kB / 0.6526 GB, free: 10.7 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.637e-05/0.1528, allocations: 7.984 kB / 0.6526 GB, free: 10.69 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.1529, allocations: 0 / 0.6526 GB, free: 10.69 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.347e-05/0.1529, allocations: 3.906 kB / 0.6526 GB, free: 10.69 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.1529, allocations: 8 kB / 0.6526 GB, free: 10.68 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 7.815e-05/0.153, allocations: 106.7 kB / 0.6527 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.353e-05/0.153, allocations: 4 kB / 0.6527 GB, free: 10.56 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001728/0.1532, allocations: 77.11 kB / 0.6528 GB, free: 10.48 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.1532, allocations: 4 kB / 0.6528 GB, free: 10.47 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1532, allocations: 0 / 0.6528 GB, free: 10.47 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 5.221e-05/0.1533, allocations: 85.05 kB / 0.6529 GB, free: 10.37 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.1533, allocations: 0 / 0.6529 GB, free: 10.37 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.327e-05/0.1533, allocations: 4 kB / 0.6529 GB, free: 10.37 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.811e-05/0.1534, allocations: 7.984 kB / 0.6529 GB, free: 10.36 MB / 0.4983 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002061/0.1536, allocations: 133 kB / 0.653 GB, free: 10.22 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002918/0.1539, allocations: 258.5 kB / 0.6533 GB, free: 9.953 MB / 0.4983 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.071e-05/0.1539, allocations: 12.03 kB / 0.6533 GB, free: 9.941 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 4.069e-05/0.154, allocations: 87.33 kB / 0.6534 GB, free: 9.855 MB / 0.4983 GB Notification: Performance of Backend: time 3.5e-07/0.154, allocations: 0 / 0.6534 GB, free: 9.855 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0004826/0.1545, allocations: 98.33 kB / 0.6535 GB, free: 9.75 MB / 0.4983 GB Notification: Performance of SimCode: time 0.0004655/0.155, allocations: 0.5573 MB / 0.654 GB, free: 9.145 MB / 0.4983 GB Notification: Performance of Templates: time 0.003586/0.1586, allocations: 0.5846 MB / 0.6546 GB, free: 8.57 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