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.00122/0.00122, allocations: 115 kB / 17.07 MB, free: 5.996 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.0009883/0.0009883, allocations: 196 kB / 18 MB, free: 5.074 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.225/1.225, 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.8112/0.8112, allocations: 119.3 MB / 411.2 MB, free: 9.465 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 65.08 kB / 0.5709 GB, free: 39.79 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1174, allocations: 80.7 MB / 0.6497 GB, free: 13.09 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001279/0.1187, allocations: 420.8 kB / 0.6501 GB, free: 12.68 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0003913/0.1191, allocations: 219.3 kB / 0.6503 GB, free: 12.47 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.779e-05/0.1192, allocations: 0 / 0.6503 GB, free: 12.47 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 1.379e-05/0.1192, allocations: 0 / 0.6503 GB, free: 12.47 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.00012/0.1193, allocations: 3.938 kB / 0.6503 GB, free: 12.46 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001157/0.1195, allocations: 27.89 kB / 0.6503 GB, free: 12.44 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 4.899e-05/0.1195, allocations: 12 kB / 0.6503 GB, free: 12.43 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 3.851e-05/0.1196, allocations: 0 / 0.6503 GB, free: 12.43 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 2.023e-05/0.1196, allocations: 4 kB / 0.6503 GB, free: 12.42 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 4.363e-05/0.1196, allocations: 11.92 kB / 0.6504 GB, free: 12.41 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 9.869e-06/0.1197, allocations: 0 / 0.6504 GB, free: 12.41 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 7.577e-05/0.1197, allocations: 23.98 kB / 0.6504 GB, free: 12.39 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 1.392e-05/0.1198, allocations: 7.984 kB / 0.6504 GB, free: 12.38 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 1.76e-05/0.1198, allocations: 7.922 kB / 0.6504 GB, free: 12.37 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 7.892e-05/0.1199, allocations: 19.98 kB / 0.6504 GB, free: 12.35 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1199, allocations: 0 / 0.6504 GB, free: 12.35 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1199, allocations: 0 / 0.6504 GB, free: 12.35 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 4.117e-06/0.1199, allocations: 4 kB / 0.6504 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.000322/0.1202, allocations: 319.9 kB / 0.6507 GB, free: 11.98 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.1202, allocations: 8.031 kB / 0.6507 GB, free: 11.98 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.853e-05/0.1203, allocations: 0.9375 kB / 0.6507 GB, free: 11.98 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.1204, allocations: 180.2 kB / 0.6509 GB, free: 11.76 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.1204, allocations: 4.375 kB / 0.6509 GB, free: 11.76 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.1204, allocations: 384 / 0.6509 GB, free: 11.76 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.675e-05/0.1205, allocations: 34.25 kB / 0.6509 GB, free: 11.72 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.131e-06/0.1205, allocations: 192 / 0.6509 GB, free: 11.72 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.1205, allocations: 15.94 kB / 0.6509 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.1206, allocations: 7.922 kB / 0.651 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.368e-05/0.1206, allocations: 8 kB / 0.651 GB, free: 11.69 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001386/0.1207, allocations: 153.7 kB / 0.6511 GB, free: 11.49 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.1209, allocations: 42.55 kB / 0.6512 GB, free: 11.44 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.471e-05/0.121, allocations: 17 kB / 0.6512 GB, free: 11.42 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.121, allocations: 0 / 0.6512 GB, free: 11.42 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.121, allocations: 38.5 kB / 0.6512 GB, free: 11.37 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.121, allocations: 0 / 0.6512 GB, free: 11.37 MB / 0.4983 GB Notification: Performance of matching and sorting (n=3): time 0.0001317/0.1211, allocations: 61.53 kB / 0.6513 GB, free: 11.3 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.1212, allocations: 51.41 kB / 0.6513 GB, free: 11.24 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.198e-05/0.1212, allocations: 97.8 kB / 0.6514 GB, free: 11.14 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.1213, allocations: 25.7 kB / 0.6514 GB, free: 11.11 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 3.212e-05/0.1213, allocations: 84.12 kB / 0.6515 GB, free: 11.02 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.1213, allocations: 12.03 kB / 0.6515 GB, free: 11.01 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.778e-05/0.1214, allocations: 13.72 kB / 0.6515 GB, free: 10.99 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 9.378e-05/0.1214, allocations: 318.8 kB / 0.6518 GB, free: 10.67 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.684e-05/0.1215, allocations: 3.984 kB / 0.6518 GB, free: 10.66 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.279e-05/0.1215, allocations: 4 kB / 0.6518 GB, free: 10.66 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.956e-05/0.1215, allocations: 24.86 kB / 0.6519 GB, free: 10.63 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1215, allocations: 0 / 0.6519 GB, free: 10.63 MB / 0.4983 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.94e-05/0.1216, allocations: 45.69 kB / 0.6519 GB, free: 10.58 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.1216, allocations: 8 kB / 0.6519 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.1217, allocations: 11.92 kB / 0.6519 GB, free: 10.56 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.1217, allocations: 3.938 kB / 0.6519 GB, free: 10.56 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.789e-05/0.1217, allocations: 4 kB / 0.6519 GB, free: 10.55 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.1217, allocations: 0 / 0.6519 GB, free: 10.55 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2e-05/0.1217, allocations: 7.906 kB / 0.6519 GB, free: 10.55 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.1218, allocations: 0 / 0.6519 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 5.417e-05/0.1218, allocations: 106.7 kB / 0.652 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.105e-05/0.1218, allocations: 8 kB / 0.6521 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001285/0.122, allocations: 73.11 kB / 0.6521 GB, free: 10.34 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.122, allocations: 0 / 0.6521 GB, free: 10.34 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.122, allocations: 0 / 0.6521 GB, free: 10.34 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.122, allocations: 0 / 0.6521 GB, free: 10.34 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001008/0.1221, allocations: 165.6 kB / 0.6523 GB, free: 10.13 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.1221, allocations: 3.938 kB / 0.6523 GB, free: 10.13 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.336e-05/0.1222, allocations: 15.92 kB / 0.6523 GB, free: 10.11 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1222, allocations: 0 / 0.6523 GB, free: 10.11 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.1222, allocations: 3.938 kB / 0.6523 GB, free: 10.11 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.1222, allocations: 4 kB / 0.6523 GB, free: 10.11 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1222, allocations: 4 kB / 0.6523 GB, free: 10.1 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001422/0.1223, allocations: 105.1 kB / 0.6524 GB, free: 9.98 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 2.886e-05/0.1224, allocations: 77.44 kB / 0.6525 GB, free: 9.887 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.1224, allocations: 3.938 kB / 0.6525 GB, free: 9.883 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.981e-05/0.1224, allocations: 4.031 kB / 0.6525 GB, free: 9.879 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.203e-05/0.1224, allocations: 0 / 0.6525 GB, free: 9.879 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.1224, allocations: 11.98 kB / 0.6525 GB, free: 9.867 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 3.657e-05/0.1225, allocations: 87.27 kB / 0.6526 GB, free: 9.781 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.8e-07/0.1225, allocations: 3.938 kB / 0.6526 GB, free: 9.777 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0001797/0.1227, allocations: 12 kB / 0.6526 GB, free: 9.766 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.0001044/0.1228, allocations: 99.72 kB / 0.6527 GB, free: 9.656 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 8.545e-05/0.1229, allocations: 27.98 kB / 0.6527 GB, free: 9.629 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1229, allocations: 0 / 0.6527 GB, free: 9.629 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 3.288e-05/0.1229, allocations: 15.94 kB / 0.6527 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.0001256/0.123, allocations: 7.984 kB / 0.6528 GB, free: 9.605 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002407/0.1233, allocations: 129.7 kB / 0.6529 GB, free: 9.453 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002041/0.1235, allocations: 0.6844 MB / 0.6535 GB, free: 8.742 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 2.242e-05/0.1235, allocations: 4.25 kB / 0.6535 GB, free: 8.738 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.755e-05/0.1236, allocations: 7.438 kB / 0.6536 GB, free: 8.73 MB / 0.4983 GB Notification: Performance of SimCode: time 2.4e-07/0.1236, allocations: 0 / 0.6536 GB, free: 8.73 MB / 0.4983 GB Notification: Performance of Templates: time 0.00222/0.1258, allocations: 0.5806 MB / 0.6541 GB, free: 8.156 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