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.0007621/0.0007622, allocations: 88.53 kB / 16.31 MB, free: 6.449 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.0008193/0.0008194, allocations: 183.1 kB / 17.21 MB, free: 6.316 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.277/1.277, allocations: 223.3 MB / 241.2 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7024/0.7024, allocations: 120.5 MB / 412.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002844/0.0002844, allocations: 8 kB / 0.4943 GB, free: 11.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1348, allocations: 82.85 MB / 0.5752 GB, free: 8.117 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.0003908/0.1352, allocations: 126.5 kB / 0.5753 GB, free: 7.996 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003916/0.1356, allocations: 217.8 kB / 0.5755 GB, free: 7.785 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.791e-05/0.1357, allocations: 0 / 0.5755 GB, free: 7.785 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.986e-06/0.1357, allocations: 0 / 0.5755 GB, free: 7.785 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00012/0.1358, allocations: 11.92 kB / 0.5755 GB, free: 7.773 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.603e-05/0.1359, allocations: 19.97 kB / 0.5755 GB, free: 7.754 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.073e-05/0.136, allocations: 7.938 kB / 0.5755 GB, free: 7.746 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.279e-05/0.136, allocations: 0 / 0.5755 GB, free: 7.746 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.057e-05/0.136, allocations: 4 kB / 0.5755 GB, free: 7.742 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.097e-05/0.1361, allocations: 7.984 kB / 0.5755 GB, free: 7.734 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.027e-05/0.1361, allocations: 0 / 0.5755 GB, free: 7.734 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.528e-05/0.1362, allocations: 23.97 kB / 0.5756 GB, free: 7.711 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.314e-06/0.1362, allocations: 3.938 kB / 0.5756 GB, free: 7.707 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.259e-05/0.1362, allocations: 29.7 kB / 0.5756 GB, free: 7.672 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 6.314e-05/0.1363, allocations: 15.98 kB / 0.5756 GB, free: 7.656 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1363, allocations: 0 / 0.5756 GB, free: 7.656 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.1363, allocations: 4 kB / 0.5756 GB, free: 7.652 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.1363, allocations: 0 / 0.5756 GB, free: 7.652 MB / 446.1 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.0003064/0.1367, allocations: 323.4 kB / 0.5759 GB, free: 7.289 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.1367, allocations: 8.031 kB / 0.5759 GB, free: 7.281 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.086e-05/0.1367, allocations: 7.859 kB / 0.5759 GB, free: 7.273 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.1368, allocations: 167.3 kB / 0.5761 GB, free: 7.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.1369, allocations: 0 / 0.5761 GB, free: 7.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.1369, allocations: 4 kB / 0.5761 GB, free: 7.066 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.71e-05/0.137, allocations: 37.69 kB / 0.5761 GB, free: 7.023 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.137, allocations: 3.938 kB / 0.5761 GB, free: 7.02 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.137, allocations: 4 kB / 0.5761 GB, free: 7.016 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.137, allocations: 0 / 0.5761 GB, free: 7.016 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.43e-05/0.1371, allocations: 11.89 kB / 0.5762 GB, free: 7.004 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001485/0.1372, allocations: 157.6 kB / 0.5763 GB, free: 6.801 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.1374, allocations: 42.61 kB / 0.5763 GB, free: 6.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.445e-05/0.1374, allocations: 9.016 kB / 0.5764 GB, free: 6.738 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.1375, allocations: 3.984 kB / 0.5764 GB, free: 6.734 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.1375, allocations: 38.5 kB / 0.5764 GB, free: 6.688 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1375, allocations: 0 / 0.5764 GB, free: 6.688 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001358/0.1376, allocations: 49.69 kB / 0.5764 GB, free: 6.633 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.1377, allocations: 51.41 kB / 0.5765 GB, free: 6.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.365e-05/0.1378, allocations: 101.8 kB / 0.5766 GB, free: 6.461 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.1378, allocations: 25.7 kB / 0.5766 GB, free: 6.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.53e-05/0.1378, allocations: 84.08 kB / 0.5767 GB, free: 6.344 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/0.1378, allocations: 15.8 kB / 0.5767 GB, free: 6.328 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-06/0.1379, allocations: 0 / 0.5767 GB, free: 6.328 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.436e-05/0.138, allocations: 314.8 kB / 0.577 GB, free: 6.012 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.748e-05/0.138, allocations: 4 kB / 0.577 GB, free: 6.008 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.479e-05/0.138, allocations: 7.984 kB / 0.577 GB, free: 6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.319e-05/0.138, allocations: 12.22 kB / 0.577 GB, free: 5.988 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.138, allocations: 8.125 kB / 0.577 GB, free: 5.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.832e-05/0.1381, allocations: 49.67 kB / 0.5771 GB, free: 5.926 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.1382, allocations: 4 kB / 0.5771 GB, free: 5.922 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1382, allocations: 0 / 0.5771 GB, free: 5.922 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.1382, allocations: 4 kB / 0.5771 GB, free: 5.918 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.576e-05/0.1382, allocations: 4 kB / 0.5771 GB, free: 5.914 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.1382, allocations: 0 / 0.5771 GB, free: 5.914 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.71e-05/0.1383, allocations: 0 / 0.5771 GB, free: 5.914 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.1383, allocations: 11.94 kB / 0.5771 GB, free: 5.902 MB / 446.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.434e-05/0.1383, allocations: 109.8 kB / 0.5772 GB, free: 5.785 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.929e-06/0.1384, allocations: 8 kB / 0.5772 GB, free: 5.777 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001465/0.1385, allocations: 73.11 kB / 0.5773 GB, free: 5.691 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1385, allocations: 4 kB / 0.5773 GB, free: 5.688 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.1385, allocations: 0 / 0.5773 GB, free: 5.688 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1385, allocations: 0 / 0.5773 GB, free: 5.688 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.1387, allocations: 169.5 kB / 0.5775 GB, free: 5.473 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1387, allocations: 0 / 0.5775 GB, free: 5.473 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.87e-05/0.1387, allocations: 8 kB / 0.5775 GB, free: 5.465 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.1387, allocations: 7.938 kB / 0.5775 GB, free: 5.457 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.1388, allocations: 0 / 0.5775 GB, free: 5.457 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1388, allocations: 0 / 0.5775 GB, free: 5.457 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1388, allocations: 0 / 0.5775 GB, free: 5.457 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001435/0.1389, allocations: 105 kB / 0.5776 GB, free: 5.336 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.685e-05/0.139, allocations: 85.08 kB / 0.5777 GB, free: 5.234 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.139, allocations: 0 / 0.5777 GB, free: 5.234 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.894e-05/0.139, allocations: 0 / 0.5777 GB, free: 5.234 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.704e-05/0.139, allocations: 16.05 kB / 0.5777 GB, free: 5.219 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.139, allocations: 0 / 0.5777 GB, free: 5.219 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.823e-05/0.1391, allocations: 79.28 kB / 0.5777 GB, free: 5.141 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1391, allocations: 0 / 0.5777 GB, free: 5.141 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001833/0.1393, allocations: 4 kB / 0.5778 GB, free: 5.137 MB / 446.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001265/0.1394, allocations: 103.2 kB / 0.5779 GB, free: 5.023 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.553e-05/0.1395, allocations: 27.94 kB / 0.5779 GB, free: 4.996 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1395, allocations: 0 / 0.5779 GB, free: 4.996 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.632e-05/0.1395, allocations: 24.08 kB / 0.5779 GB, free: 4.973 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001345/0.1397, allocations: 7.891 kB / 0.5779 GB, free: 4.965 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002681/0.14, allocations: 132.9 kB / 0.578 GB, free: 4.805 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002125/0.1402, allocations: 0.6809 MB / 0.5787 GB, free: 4.098 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.038e-05/0.1402, allocations: 11.98 kB / 0.5787 GB, free: 4.086 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.232e-05/0.1402, allocations: 15.42 kB / 0.5787 GB, free: 4.07 MB / 446.1 MB Notification: Performance of SimCode: time 1.763e-06/0.1402, allocations: 0 / 0.5787 GB, free: 4.07 MB / 446.1 MB Notification: Performance of Templates: time 0.002327/0.1426, allocations: 0.5427 MB / 0.5793 GB, free: 3.531 MB / 446.1 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