Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.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: "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHist",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHist",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001706/0.001706, allocations: 109.5 kB / 17.06 MB, free: 5.992 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.001884/0.001884, allocations: 196 kB / 18.01 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.294/1.294, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8298/0.8298, allocations: 119.3 MB / 411.2 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 62.84 kB / 0.5704 GB, free: 40.04 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1232, allocations: 80.7 MB / 0.6492 GB, free: 13.58 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001382/0.1247, allocations: 392.6 kB / 0.6496 GB, free: 13.2 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001787/0.1248, allocations: 35.88 kB / 0.6496 GB, free: 13.17 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.29e-05/0.1249, allocations: 0 / 0.6496 GB, free: 13.17 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 1.481e-05/0.1249, allocations: 0 / 0.6496 GB, free: 13.17 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 4.461e-05/0.125, allocations: 0 / 0.6496 GB, free: 13.17 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001376/0.1251, allocations: 7.938 kB / 0.6496 GB, free: 13.16 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 3.936e-05/0.1251, allocations: 3.938 kB / 0.6496 GB, free: 13.16 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.597e-05/0.1252, allocations: 7.984 kB / 0.6496 GB, free: 13.15 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 1.455e-05/0.1252, allocations: 0 / 0.6496 GB, free: 13.15 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 3.922e-05/0.1253, allocations: 4 kB / 0.6496 GB, free: 13.14 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 9.468e-06/0.1253, allocations: 0 / 0.6496 GB, free: 13.14 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 5.386e-05/0.1253, allocations: 8 kB / 0.6497 GB, free: 13.14 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 1.057e-05/0.1253, allocations: 7.984 kB / 0.6497 GB, free: 13.13 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 1.531e-05/0.1254, allocations: 0 / 0.6497 GB, free: 13.13 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 7.421e-05/0.1254, allocations: 15.92 kB / 0.6497 GB, free: 13.11 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1255, allocations: 0 / 0.6497 GB, free: 13.11 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.293e-06/0.1255, allocations: 0 / 0.6497 GB, free: 13.11 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.1255, allocations: 0 / 0.6497 GB, free: 13.11 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002572/0.1257, allocations: 315.8 kB / 0.65 GB, free: 12.75 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.1258, allocations: 15.89 kB / 0.65 GB, free: 12.74 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.555e-05/0.1258, allocations: 30.75 kB / 0.65 GB, free: 12.7 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.144e-05/0.1258, allocations: 4.891 kB / 0.65 GB, free: 12.7 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.899e-05/0.1259, allocations: 164.4 kB / 0.6502 GB, free: 12.5 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.1259, allocations: 4.312 kB / 0.6502 GB, free: 12.49 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.1259, allocations: 4.375 kB / 0.6502 GB, free: 12.49 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.33e-05/0.126, allocations: 34.25 kB / 0.6502 GB, free: 12.45 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.126, allocations: 3.938 kB / 0.6502 GB, free: 12.45 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.051e-06/0.1261, allocations: 0 / 0.6502 GB, free: 12.45 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.1261, allocations: 7.984 kB / 0.6502 GB, free: 12.44 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.506e-05/0.1261, allocations: 0 / 0.6502 GB, free: 12.44 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001266/0.1262, allocations: 157.7 kB / 0.6504 GB, free: 12.23 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 4.61e-05/0.1263, allocations: 26.48 kB / 0.6504 GB, free: 12.2 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.112e-05/0.1263, allocations: 12.92 kB / 0.6504 GB, free: 12.18 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002049/0.1265, allocations: 85.09 kB / 0.6505 GB, free: 12.08 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.1266, allocations: 30.56 kB / 0.6505 GB, free: 12.04 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1266, allocations: 0 / 0.6505 GB, free: 12.04 MB / 0.4983 GB Notification: Performance of matching and sorting (n=2): time 0.0001201/0.1267, allocations: 45.64 kB / 0.6506 GB, free: 11.99 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.1267, allocations: 55.41 kB / 0.6506 GB, free: 11.93 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.066e-05/0.1268, allocations: 93.84 kB / 0.6507 GB, free: 11.82 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.1268, allocations: 25.7 kB / 0.6507 GB, free: 11.79 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 2.07e-05/0.1268, allocations: 80.14 kB / 0.6508 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-05/0.1268, allocations: 3.953 kB / 0.6508 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.084e-05/0.1269, allocations: 13.72 kB / 0.6508 GB, free: 11.69 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 8.904e-05/0.127, allocations: 318.8 kB / 0.6511 GB, free: 11.37 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.343e-05/0.127, allocations: 12.12 kB / 0.6512 GB, free: 11.36 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.402e-06/0.127, allocations: 0 / 0.6512 GB, free: 11.36 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.689e-05/0.127, allocations: 8.859 kB / 0.6512 GB, free: 11.34 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.127, allocations: 0 / 0.6512 GB, free: 11.34 MB / 0.4983 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.604e-05/0.1271, allocations: 41.69 kB / 0.6512 GB, free: 11.3 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.1271, allocations: 11.94 kB / 0.6512 GB, free: 11.29 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1271, allocations: 3.938 kB / 0.6512 GB, free: 11.28 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.849e-06/0.1271, allocations: 0 / 0.6512 GB, free: 11.28 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.423e-05/0.1272, allocations: 4 kB / 0.6512 GB, free: 11.28 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.1272, allocations: 12.02 kB / 0.6512 GB, free: 11.27 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.236e-05/0.1272, allocations: 0 / 0.6512 GB, free: 11.27 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-06/0.1272, allocations: 0 / 0.6512 GB, free: 11.27 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 (2): * Single equations (assignments): 2 * 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.29e-05/0.1273, allocations: 110.7 kB / 0.6513 GB, free: 11.15 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.215e-06/0.1273, allocations: 4 kB / 0.6513 GB, free: 11.14 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.262e-05/0.1274, allocations: 40.77 kB / 0.6514 GB, free: 11.1 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.1274, allocations: 4 kB / 0.6514 GB, free: 11.09 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.1274, allocations: 4.031 kB / 0.6514 GB, free: 11.09 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1274, allocations: 3.984 kB / 0.6514 GB, free: 11.09 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.363e-05/0.1275, allocations: 149.6 kB / 0.6515 GB, free: 10.89 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.1275, allocations: 0 / 0.6515 GB, free: 10.89 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.85e-05/0.1275, allocations: 4 kB / 0.6515 GB, free: 10.89 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.1275, allocations: 0 / 0.6515 GB, free: 10.89 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-06/0.1276, allocations: 3.938 kB / 0.6515 GB, free: 10.88 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.1276, allocations: 4 kB / 0.6515 GB, free: 10.88 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1276, allocations: 3.938 kB / 0.6515 GB, free: 10.88 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.455e-05/0.1276, allocations: 65.12 kB / 0.6516 GB, free: 10.79 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 3.066e-05/0.1277, allocations: 77.11 kB / 0.6517 GB, free: 10.7 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/0.1277, allocations: 3.938 kB / 0.6517 GB, free: 10.7 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.121e-05/0.1277, allocations: 0 / 0.6517 GB, free: 10.7 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.393e-05/0.1277, allocations: 11.92 kB / 0.6517 GB, free: 10.68 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-06/0.1277, allocations: 0 / 0.6517 GB, free: 10.68 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 2.36e-05/0.1278, allocations: 75.28 kB / 0.6518 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1278, allocations: 0 / 0.6518 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0001821/0.1279, allocations: 4 kB / 0.6518 GB, free: 10.61 MB / 0.4983 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0003076/0.1283, allocations: 0.609 MB / 0.6524 GB, free: 9.965 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 6.949e-05/0.1283, allocations: 4 kB / 0.6524 GB, free: 9.961 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1284, allocations: 0 / 0.6524 GB, free: 9.961 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 9.999e-06/0.1284, allocations: 4.094 kB / 0.6524 GB, free: 9.957 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001242/0.1285, allocations: 12.06 kB / 0.6524 GB, free: 9.945 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000275/0.1288, allocations: 118.5 kB / 0.6525 GB, free: 9.789 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001945/0.129, allocations: 0.6766 MB / 0.6532 GB, free: 9.086 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 1.861e-05/0.129, allocations: 0 / 0.6532 GB, free: 9.086 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.108e-05/0.129, allocations: 15.42 kB / 0.6532 GB, free: 9.07 MB / 0.4983 GB Notification: Performance of SimCode: time 2.3e-07/0.129, allocations: 0 / 0.6532 GB, free: 9.07 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01867/0.1477, allocations: 1.034 MB / 0.6542 GB, free: 8.172 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.263/7.41, allocations: 3.75 kB / 0.6542 GB, free: 8.172 MB / 0.4983 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.csv --start-time 0 --stop-time 1 --timeout 300 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0002 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHist.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches