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.00124/0.001239, allocations: 111.5 kB / 17.74 MB, free: 5.191 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.001229/0.001229, allocations: 192.4 kB / 18.67 MB, free: 4.266 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.338/1.338, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9617/0.9617, allocations: 119.3 MB / 411.8 MB, free: 9.48 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 66.47 kB / 0.5715 GB, free: 39.78 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1279, allocations: 80.7 MB / 0.6504 GB, free: 13.09 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001573/0.1296, allocations: 405 kB / 0.6507 GB, free: 12.69 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0004646/0.13, allocations: 227.2 kB / 0.651 GB, free: 12.47 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.313e-05/0.1301, allocations: 0 / 0.651 GB, free: 12.47 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 1.331e-05/0.1301, allocations: 0 / 0.651 GB, free: 12.47 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001419/0.1303, allocations: 11.91 kB / 0.651 GB, free: 12.46 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001483/0.1304, allocations: 19.92 kB / 0.651 GB, free: 12.44 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 4.947e-05/0.1305, allocations: 8 kB / 0.651 GB, free: 12.43 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4e-05/0.1306, allocations: 4 kB / 0.651 GB, free: 12.43 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 2.246e-05/0.1306, allocations: 3.984 kB / 0.651 GB, free: 12.42 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 4.678e-05/0.1306, allocations: 15.92 kB / 0.651 GB, free: 12.41 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.1307, allocations: 4 kB / 0.651 GB, free: 12.4 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 8.66e-05/0.1307, allocations: 19.98 kB / 0.651 GB, free: 12.38 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 1.24e-05/0.1308, allocations: 3.984 kB / 0.651 GB, free: 12.38 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 2.591e-05/0.1308, allocations: 7.938 kB / 0.6511 GB, free: 12.37 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 9.246e-05/0.1309, allocations: 19.97 kB / 0.6511 GB, free: 12.35 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1309, allocations: 0 / 0.6511 GB, free: 12.35 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1309, allocations: 0 / 0.6511 GB, free: 12.35 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.1309, allocations: 0 / 0.6511 GB, free: 12.35 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.0003515/0.1313, allocations: 323.9 kB / 0.6514 GB, free: 11.98 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.1313, allocations: 12.03 kB / 0.6514 GB, free: 11.97 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.187e-05/0.1314, allocations: 8.938 kB / 0.6514 GB, free: 11.96 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.1315, allocations: 172.2 kB / 0.6516 GB, free: 11.76 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.1315, allocations: 384 / 0.6516 GB, free: 11.76 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.1315, allocations: 4.375 kB / 0.6516 GB, free: 11.75 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.526e-05/0.1316, allocations: 38.25 kB / 0.6516 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.1316, allocations: 192 / 0.6516 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.1316, allocations: 3.938 kB / 0.6516 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.1317, allocations: 0 / 0.6516 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.716e-05/0.1317, allocations: 7.938 kB / 0.6516 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001578/0.1319, allocations: 157.7 kB / 0.6518 GB, free: 11.5 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.1321, allocations: 42.55 kB / 0.6518 GB, free: 11.45 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.626e-05/0.1321, allocations: 21 kB / 0.6518 GB, free: 11.42 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.1321, allocations: 4 kB / 0.6518 GB, free: 11.42 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.1322, allocations: 30.56 kB / 0.6519 GB, free: 11.38 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1322, allocations: 0 / 0.6519 GB, free: 11.38 MB / 0.4983 GB Notification: Performance of matching and sorting (n=3): time 0.0001426/0.1323, allocations: 57.53 kB / 0.6519 GB, free: 11.32 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.1324, allocations: 55.41 kB / 0.652 GB, free: 11.25 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.167e-05/0.1324, allocations: 97.78 kB / 0.6521 GB, free: 11.14 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.1324, allocations: 25.7 kB / 0.6521 GB, free: 11.11 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 4.251e-05/0.1325, allocations: 88.08 kB / 0.6522 GB, free: 11.02 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 3.132e-05/0.1325, allocations: 7.906 kB / 0.6522 GB, free: 11.02 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.16e-05/0.1326, allocations: 17.72 kB / 0.6522 GB, free: 10.99 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.1327, allocations: 319 kB / 0.6525 GB, free: 10.67 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.817e-05/0.1327, allocations: 4 kB / 0.6525 GB, free: 10.67 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.555e-05/0.1327, allocations: 8 kB / 0.6525 GB, free: 10.66 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.41e-05/0.1328, allocations: 25.11 kB / 0.6525 GB, free: 10.63 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1328, allocations: 0 / 0.6525 GB, free: 10.63 MB / 0.4983 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.71e-05/0.1329, allocations: 49.69 kB / 0.6526 GB, free: 10.58 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.1329, allocations: 4 kB / 0.6526 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.1329, allocations: 3.938 kB / 0.6526 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.1329, allocations: 3.938 kB / 0.6526 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.496e-05/0.133, allocations: 8 kB / 0.6526 GB, free: 10.56 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.133, allocations: 4 kB / 0.6526 GB, free: 10.55 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.128e-05/0.133, allocations: 3.906 kB / 0.6526 GB, free: 10.55 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.133, allocations: 0 / 0.6526 GB, free: 10.55 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.338e-05/0.1331, allocations: 114.7 kB / 0.6527 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.098e-05/0.1331, allocations: 3.984 kB / 0.6527 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001368/0.1332, allocations: 69.12 kB / 0.6528 GB, free: 10.35 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.1333, allocations: 0 / 0.6528 GB, free: 10.35 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1333, allocations: 0 / 0.6528 GB, free: 10.35 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.1333, allocations: 11.98 kB / 0.6528 GB, free: 10.34 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/0.1334, allocations: 161.6 kB / 0.653 GB, free: 10.13 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1334, allocations: 3.938 kB / 0.653 GB, free: 10.12 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.92e-05/0.1335, allocations: 8 kB / 0.653 GB, free: 10.12 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1335, allocations: 7.938 kB / 0.653 GB, free: 10.11 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.1335, allocations: 4 kB / 0.653 GB, free: 10.11 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.1335, allocations: 4 kB / 0.653 GB, free: 10.1 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1335, allocations: 0 / 0.653 GB, free: 10.1 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001522/0.1337, allocations: 105 kB / 0.6531 GB, free: 9.98 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 3.424e-05/0.1337, allocations: 81.14 kB / 0.6532 GB, free: 9.883 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.1337, allocations: 3.938 kB / 0.6532 GB, free: 9.879 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.16e-05/0.1337, allocations: 4 kB / 0.6532 GB, free: 9.875 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.588e-05/0.1338, allocations: 7.984 kB / 0.6532 GB, free: 9.867 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.1338, allocations: 0 / 0.6532 GB, free: 9.867 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 3.885e-05/0.1338, allocations: 79.22 kB / 0.6532 GB, free: 9.789 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1e-07/0.1338, allocations: 0 / 0.6532 GB, free: 9.789 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0001869/0.134, allocations: 12 kB / 0.6533 GB, free: 9.777 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.0001216/0.1341, allocations: 107.9 kB / 0.6534 GB, free: 9.66 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 9.552e-05/0.1342, allocations: 23.98 kB / 0.6534 GB, free: 9.637 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1343, allocations: 0 / 0.6534 GB, free: 9.637 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 2.951e-05/0.1343, allocations: 23.92 kB / 0.6534 GB, free: 9.613 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001508/0.1344, allocations: 7.875 kB / 0.6534 GB, free: 9.605 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002747/0.1347, allocations: 151.3 kB / 0.6536 GB, free: 9.426 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.135, allocations: 0.6844 MB / 0.6542 GB, free: 8.715 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.44e-05/0.135, allocations: 11.44 kB / 0.6542 GB, free: 8.703 MB / 0.4983 GB Notification: Performance of SimCode: time 3.2e-07/0.135, allocations: 0 / 0.6542 GB, free: 8.703 MB / 0.4983 GB Notification: Performance of Templates: time 0.00196/0.137, allocations: 0.6973 MB / 0.6549 GB, free: 8.012 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