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.00129/0.00129, allocations: 107.8 kB / 17.06 MB, free: 6.137 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.001196/0.001196, allocations: 188 kB / 18 MB, free: 5.219 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.268/1.268, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8634/0.8634, allocations: 119.3 MB / 411.2 MB, free: 9.504 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 64.69 kB / 0.5709 GB, free: 39.8 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.117, allocations: 80.7 MB / 0.6497 GB, free: 13.11 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001542/0.1186, allocations: 405 kB / 0.6501 GB, free: 12.71 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0004524/0.119, allocations: 223.3 kB / 0.6503 GB, free: 12.5 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.961e-05/0.1191, allocations: 3.938 kB / 0.6503 GB, free: 12.49 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 1.451e-05/0.1191, allocations: 4 kB / 0.6503 GB, free: 12.49 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001277/0.1193, allocations: 4 kB / 0.6503 GB, free: 12.48 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001241/0.1194, allocations: 19.91 kB / 0.6503 GB, free: 12.46 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 6.362e-05/0.1195, allocations: 15.92 kB / 0.6503 GB, free: 12.45 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.725e-05/0.1195, allocations: 4 kB / 0.6503 GB, free: 12.45 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 2.705e-05/0.1196, allocations: 4 kB / 0.6503 GB, free: 12.44 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 5.128e-05/0.1196, allocations: 11.92 kB / 0.6504 GB, free: 12.43 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.1196, allocations: 0 / 0.6504 GB, free: 12.43 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.1197, allocations: 19.98 kB / 0.6504 GB, free: 12.41 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 1.548e-05/0.1198, allocations: 7.984 kB / 0.6504 GB, free: 12.4 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 2.462e-05/0.1198, allocations: 7.938 kB / 0.6504 GB, free: 12.39 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 9.208e-05/0.1199, allocations: 19.97 kB / 0.6504 GB, free: 12.38 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1199, allocations: 0 / 0.6504 GB, free: 12.38 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1199, allocations: 0 / 0.6504 GB, free: 12.38 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.002e-06/0.1199, allocations: 4 kB / 0.6504 GB, free: 12.37 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.0003324/0.1203, allocations: 319.9 kB / 0.6507 GB, free: 12.01 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.1203, allocations: 12.03 kB / 0.6507 GB, free: 12 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.736e-05/0.1203, allocations: 0.9375 kB / 0.6507 GB, free: 12 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.1205, allocations: 164.3 kB / 0.6509 GB, free: 11.8 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.494e-06/0.1205, allocations: 8.312 kB / 0.6509 GB, free: 11.79 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.358e-05/0.1205, allocations: 4.375 kB / 0.6509 GB, free: 11.79 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.861e-05/0.1206, allocations: 38.25 kB / 0.6509 GB, free: 11.74 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.086e-06/0.1206, allocations: 4.172 kB / 0.6509 GB, free: 11.74 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.1206, allocations: 3.938 kB / 0.6509 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.1206, allocations: 0 / 0.6509 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.59e-05/0.1207, allocations: 7.984 kB / 0.6509 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001487/0.1208, allocations: 161.6 kB / 0.6511 GB, free: 11.52 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.121, allocations: 50.56 kB / 0.6512 GB, free: 11.46 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.567e-05/0.1211, allocations: 16.86 kB / 0.6512 GB, free: 11.44 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.108e-05/0.1211, allocations: 0 / 0.6512 GB, free: 11.44 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.605e-05/0.1211, allocations: 30.56 kB / 0.6512 GB, free: 11.4 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.1211, allocations: 0 / 0.6512 GB, free: 11.4 MB / 0.4983 GB Notification: Performance of matching and sorting (n=3): time 0.000135/0.1212, allocations: 57.61 kB / 0.6513 GB, free: 11.34 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.1213, allocations: 55.41 kB / 0.6513 GB, free: 11.27 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.236e-05/0.1214, allocations: 97.8 kB / 0.6514 GB, free: 11.17 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.1214, allocations: 25.7 kB / 0.6514 GB, free: 11.14 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 2.843e-05/0.1214, allocations: 88.14 kB / 0.6515 GB, free: 11.05 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/0.1214, allocations: 3.906 kB / 0.6515 GB, free: 11.04 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.303e-05/0.1215, allocations: 21.7 kB / 0.6515 GB, free: 11.02 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.1216, allocations: 310.8 kB / 0.6518 GB, free: 10.7 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.695e-05/0.1216, allocations: 7.938 kB / 0.6518 GB, free: 10.7 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.538e-05/0.1216, allocations: 11.98 kB / 0.6518 GB, free: 10.68 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.804e-05/0.1217, allocations: 20.98 kB / 0.6519 GB, free: 10.66 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1217, allocations: 0 / 0.6519 GB, free: 10.66 MB / 0.4983 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.472e-05/0.1218, allocations: 49.69 kB / 0.6519 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.1218, allocations: 4 kB / 0.6519 GB, free: 10.6 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1218, allocations: 3.938 kB / 0.6519 GB, free: 10.6 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.1218, allocations: 0 / 0.6519 GB, free: 10.6 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.575e-05/0.1218, allocations: 15.92 kB / 0.6519 GB, free: 10.58 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.1219, allocations: 0 / 0.6519 GB, free: 10.58 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.095e-05/0.1219, allocations: 3.906 kB / 0.6519 GB, free: 10.58 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.1219, allocations: 4 kB / 0.6519 GB, free: 10.57 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.881e-05/0.122, allocations: 114.7 kB / 0.6521 GB, free: 10.45 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.348e-06/0.122, allocations: 0 / 0.6521 GB, free: 10.45 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001338/0.1221, allocations: 73.11 kB / 0.6521 GB, free: 10.37 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1221, allocations: 0 / 0.6521 GB, free: 10.37 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.1221, allocations: 8.062 kB / 0.6521 GB, free: 10.36 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1222, allocations: 0 / 0.6521 GB, free: 10.36 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.1223, allocations: 157.6 kB / 0.6523 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.1223, allocations: 0 / 0.6523 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.714e-05/0.1223, allocations: 23.92 kB / 0.6523 GB, free: 10.14 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.1223, allocations: 0 / 0.6523 GB, free: 10.14 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.659e-06/0.1224, allocations: 12.2 kB / 0.6523 GB, free: 10.12 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1224, allocations: 0 / 0.6523 GB, free: 10.12 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1224, allocations: 0 / 0.6523 GB, free: 10.12 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001436/0.1225, allocations: 93.03 kB / 0.6524 GB, free: 10.02 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 3.303e-05/0.1226, allocations: 89.11 kB / 0.6525 GB, free: 9.91 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.1226, allocations: 3.938 kB / 0.6525 GB, free: 9.906 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.119e-05/0.1226, allocations: 8.062 kB / 0.6525 GB, free: 9.898 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.553e-05/0.1226, allocations: 4 kB / 0.6525 GB, free: 9.895 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.1226, allocations: 0 / 0.6525 GB, free: 9.895 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 3.578e-05/0.1227, allocations: 75.28 kB / 0.6526 GB, free: 9.82 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1227, allocations: 7.938 kB / 0.6526 GB, free: 9.812 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.000183/0.1229, allocations: 8 kB / 0.6526 GB, free: 9.805 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.0001125/0.123, allocations: 107.7 kB / 0.6527 GB, free: 9.688 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 8.157e-05/0.1231, allocations: 24.08 kB / 0.6527 GB, free: 9.664 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1231, allocations: 4 kB / 0.6527 GB, free: 9.66 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 2.515e-05/0.1231, allocations: 19.94 kB / 0.6527 GB, free: 9.641 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001347/0.1233, allocations: 7.938 kB / 0.6527 GB, free: 9.633 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002559/0.1235, allocations: 125.6 kB / 0.6529 GB, free: 9.484 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002119/0.1237, allocations: 0.6805 MB / 0.6535 GB, free: 8.777 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 2.947e-05/0.1238, allocations: 16.17 kB / 0.6535 GB, free: 8.762 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.97e-05/0.1238, allocations: 11.44 kB / 0.6536 GB, free: 8.75 MB / 0.4983 GB Notification: Performance of SimCode: time 2.4e-07/0.1238, allocations: 0 / 0.6536 GB, free: 8.75 MB / 0.4983 GB Notification: Performance of Templates: time 0.002421/0.1262, allocations: 0.5728 MB / 0.6541 GB, free: 8.184 MB / 0.4983 GB 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches