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.001087/0.001087, allocations: 111.8 kB / 17.06 MB, free: 5.965 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.001276/0.001276, allocations: 198.9 kB / 18.01 MB, free: 5.055 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.257/1.257, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9572/0.9572, allocations: 119.3 MB / 411.2 MB, free: 9.465 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 61.75 kB / 0.5709 GB, free: 39.74 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1344, allocations: 80.7 MB / 0.6497 GB, free: 13.06 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001403/0.1359, allocations: 416.5 kB / 0.6501 GB, free: 12.66 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0003872/0.1363, allocations: 219.3 kB / 0.6503 GB, free: 12.45 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.329e-05/0.1363, allocations: 7.938 kB / 0.6503 GB, free: 12.44 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 1.138e-05/0.1364, allocations: 0 / 0.6503 GB, free: 12.44 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.000133/0.1365, allocations: 3.938 kB / 0.6503 GB, free: 12.43 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001143/0.1366, allocations: 27.89 kB / 0.6503 GB, free: 12.41 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 4.465e-05/0.1367, allocations: 8 kB / 0.6503 GB, free: 12.4 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.199e-05/0.1367, allocations: 0 / 0.6503 GB, free: 12.4 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 2.32e-05/0.1368, allocations: 8 kB / 0.6504 GB, free: 12.39 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 4.768e-05/0.1368, allocations: 11.92 kB / 0.6504 GB, free: 12.38 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.1368, allocations: 0 / 0.6504 GB, free: 12.38 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 8.518e-05/0.1369, allocations: 23.98 kB / 0.6504 GB, free: 12.36 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 1.254e-05/0.1369, allocations: 3.984 kB / 0.6504 GB, free: 12.35 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 2.155e-05/0.137, allocations: 11.86 kB / 0.6504 GB, free: 12.34 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 8.999e-05/0.1371, allocations: 19.98 kB / 0.6504 GB, free: 12.32 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1371, allocations: 0 / 0.6504 GB, free: 12.32 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.753e-06/0.1371, allocations: 0 / 0.6504 GB, free: 12.32 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.1371, 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.000358/0.1374, allocations: 323.9 kB / 0.6507 GB, free: 11.95 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.1375, allocations: 8.031 kB / 0.6507 GB, free: 11.95 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.68e-05/0.1375, allocations: 0.9375 kB / 0.6507 GB, free: 11.95 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.1376, allocations: 176.3 kB / 0.6509 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.1376, allocations: 384 / 0.6509 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.1377, allocations: 384 / 0.6509 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.318e-05/0.1378, allocations: 38.25 kB / 0.6509 GB, free: 11.69 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.1378, allocations: 192 / 0.6509 GB, free: 11.69 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.078e-06/0.1378, allocations: 3.938 kB / 0.6509 GB, free: 11.69 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.1378, allocations: 4 kB / 0.651 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.618e-05/0.1378, allocations: 7.938 kB / 0.651 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001448/0.138, allocations: 157.6 kB / 0.6511 GB, free: 11.47 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000197/0.1382, allocations: 42.61 kB / 0.6511 GB, free: 11.42 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.612e-05/0.1382, allocations: 21 kB / 0.6512 GB, free: 11.4 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.1383, allocations: 3.984 kB / 0.6512 GB, free: 11.39 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.1383, allocations: 30.56 kB / 0.6512 GB, free: 11.36 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.1383, allocations: 0 / 0.6512 GB, free: 11.36 MB / 0.4983 GB Notification: Performance of matching and sorting (n=3): time 0.0001436/0.1384, allocations: 61.47 kB / 0.6513 GB, free: 11.29 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.1385, allocations: 55.41 kB / 0.6513 GB, free: 11.22 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.695e-05/0.1385, allocations: 93.86 kB / 0.6514 GB, free: 11.12 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.1386, allocations: 29.7 kB / 0.6514 GB, free: 11.09 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 2.886e-05/0.1386, allocations: 84.12 kB / 0.6515 GB, free: 11 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.1386, allocations: 3.906 kB / 0.6515 GB, free: 11 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.93e-05/0.1386, allocations: 17.72 kB / 0.6515 GB, free: 10.97 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 9.089e-05/0.1387, allocations: 310.8 kB / 0.6518 GB, free: 10.66 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.728e-05/0.1388, allocations: 16.05 kB / 0.6518 GB, free: 10.64 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.549e-05/0.1388, allocations: 8 kB / 0.6519 GB, free: 10.64 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.918e-05/0.1388, allocations: 20.86 kB / 0.6519 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1388, allocations: 0 / 0.6519 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.602e-05/0.1389, allocations: 49.62 kB / 0.6519 GB, free: 10.56 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.1389, allocations: 11.27 kB / 0.6519 GB, free: 10.55 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.139, allocations: 8.266 kB / 0.6519 GB, free: 10.54 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.139, allocations: 0 / 0.6519 GB, free: 10.54 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.088e-05/0.139, allocations: 4 kB / 0.6519 GB, free: 10.54 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.139, allocations: 0 / 0.6519 GB, free: 10.54 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.229e-05/0.1391, allocations: 7.906 kB / 0.6519 GB, free: 10.53 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.1391, allocations: 8 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 6.032e-05/0.1391, allocations: 106.7 kB / 0.6521 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.798e-06/0.1391, allocations: 3.984 kB / 0.6521 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001429/0.1393, allocations: 85.05 kB / 0.6521 GB, free: 10.31 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1393, allocations: 0 / 0.6521 GB, free: 10.31 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1393, allocations: 0 / 0.6521 GB, free: 10.31 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1393, allocations: 0 / 0.6521 GB, free: 10.31 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.914e-05/0.1394, allocations: 165.6 kB / 0.6523 GB, free: 10.1 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1394, allocations: 0 / 0.6523 GB, free: 10.1 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.387e-05/0.1395, allocations: 11.98 kB / 0.6523 GB, free: 10.09 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.1395, allocations: 0 / 0.6523 GB, free: 10.09 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.1395, allocations: 11.88 kB / 0.6523 GB, free: 10.08 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1395, allocations: 0 / 0.6523 GB, free: 10.08 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1395, allocations: 4 kB / 0.6523 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001384/0.1397, allocations: 101 kB / 0.6524 GB, free: 9.957 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 3.062e-05/0.1397, allocations: 81.17 kB / 0.6525 GB, free: 9.859 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.1397, allocations: 7.938 kB / 0.6525 GB, free: 9.852 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.92e-05/0.1398, allocations: 0 / 0.6525 GB, free: 9.852 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.536e-05/0.1398, allocations: 4.031 kB / 0.6525 GB, free: 9.848 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.1398, allocations: 0 / 0.6525 GB, free: 9.848 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 4.141e-05/0.1398, allocations: 83.27 kB / 0.6526 GB, free: 9.766 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1398, allocations: 0 / 0.6526 GB, free: 9.766 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0001889/0.14, allocations: 16 kB / 0.6526 GB, free: 9.75 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.0001115/0.1401, allocations: 103.8 kB / 0.6527 GB, free: 9.637 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 9.591e-05/0.1402, allocations: 23.98 kB / 0.6527 GB, free: 9.613 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.1403, allocations: 3.938 kB / 0.6527 GB, free: 9.609 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 2.685e-05/0.1403, allocations: 19.98 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.0001308/0.1404, allocations: 0 / 0.6528 GB, free: 9.59 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002457/0.1407, allocations: 121.6 kB / 0.6529 GB, free: 9.445 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002013/0.1409, allocations: 0.6844 MB / 0.6535 GB, free: 8.734 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 2.366e-05/0.1409, allocations: 16.17 kB / 0.6536 GB, free: 8.719 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.771e-05/0.141, allocations: 7.438 kB / 0.6536 GB, free: 8.711 MB / 0.4983 GB Notification: Performance of SimCode: time 2.1e-07/0.141, allocations: 0 / 0.6536 GB, free: 8.711 MB / 0.4983 GB Notification: Performance of Templates: time 0.002261/0.1432, allocations: 0.5886 MB / 0.6541 GB, free: 8.137 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