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.001492/0.001498, allocations: 114.3 kB / 17.07 MB, free: 6.016 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.001545/0.001545, allocations: 189.4 kB / 18 MB, free: 5.098 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.337/1.337, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9189/0.9189, allocations: 119.3 MB / 411.2 MB, free: 9.504 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001767/0.001767, allocations: 62.81 kB / 0.5704 GB, free: 40.13 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1228, allocations: 80.7 MB / 0.6492 GB, free: 13.6 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001374/0.1242, allocations: 397.1 kB / 0.6496 GB, free: 13.21 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001816/0.1244, allocations: 31.88 kB / 0.6496 GB, free: 13.18 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.547e-05/0.1244, allocations: 0 / 0.6496 GB, free: 13.18 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 1.47e-05/0.1244, allocations: 0 / 0.6496 GB, free: 13.18 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 4.237e-05/0.1245, allocations: 0 / 0.6496 GB, free: 13.18 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001315/0.1246, allocations: 7.938 kB / 0.6496 GB, free: 13.17 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 4.057e-05/0.1247, allocations: 7.938 kB / 0.6496 GB, free: 13.16 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.139e-05/0.1247, allocations: 3.984 kB / 0.6496 GB, free: 13.16 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 1.499e-05/0.1247, allocations: 3.984 kB / 0.6496 GB, free: 13.16 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 3.876e-05/0.1248, allocations: 4 kB / 0.6496 GB, free: 13.15 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.1248, allocations: 8 kB / 0.6497 GB, free: 13.14 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 5.193e-05/0.1249, allocations: 4 kB / 0.6497 GB, free: 13.14 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 8.195e-06/0.1249, allocations: 0 / 0.6497 GB, free: 13.14 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 1.534e-05/0.1249, allocations: 0 / 0.6497 GB, free: 13.14 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 7.539e-05/0.125, allocations: 15.92 kB / 0.6497 GB, free: 13.12 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.125, allocations: 0 / 0.6497 GB, free: 13.12 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.162e-06/0.125, allocations: 0 / 0.6497 GB, free: 13.12 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.088e-05/0.125, allocations: 4 kB / 0.6497 GB, free: 13.12 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.0003068/0.1253, allocations: 315.8 kB / 0.65 GB, free: 12.76 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.1253, allocations: 8.031 kB / 0.65 GB, free: 12.75 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.127e-05/0.1254, allocations: 38.73 kB / 0.65 GB, free: 12.71 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.982e-05/0.1254, allocations: 4.891 kB / 0.65 GB, free: 12.7 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.1255, allocations: 164.3 kB / 0.6502 GB, free: 12.5 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.848e-06/0.1255, allocations: 4.312 kB / 0.6502 GB, free: 12.5 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.185e-06/0.1256, allocations: 8.375 kB / 0.6502 GB, free: 12.49 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.343e-05/0.1256, allocations: 30.25 kB / 0.6502 GB, free: 12.46 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1257, allocations: 7.938 kB / 0.6502 GB, free: 12.45 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.66e-06/0.1257, allocations: 0 / 0.6502 GB, free: 12.45 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.1257, allocations: 0 / 0.6502 GB, free: 12.45 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.1e-05/0.1257, allocations: 8 kB / 0.6502 GB, free: 12.44 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000142/0.1259, allocations: 145.7 kB / 0.6504 GB, free: 12.25 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 5.076e-05/0.1259, allocations: 26.53 kB / 0.6504 GB, free: 12.21 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.093e-05/0.1259, allocations: 8.922 kB / 0.6504 GB, free: 12.2 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002044/0.1262, allocations: 89.09 kB / 0.6505 GB, free: 12.1 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.1262, allocations: 34.56 kB / 0.6505 GB, free: 12.05 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1262, allocations: 4 kB / 0.6505 GB, free: 12.05 MB / 0.4983 GB Notification: Performance of matching and sorting (n=2): time 0.0001258/0.1263, allocations: 37.64 kB / 0.6506 GB, free: 12.01 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.1264, allocations: 55.41 kB / 0.6506 GB, free: 11.94 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.22e-05/0.1264, allocations: 89.86 kB / 0.6507 GB, free: 11.84 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.1265, allocations: 25.7 kB / 0.6507 GB, free: 11.81 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 3.076e-05/0.1265, allocations: 84.08 kB / 0.6508 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 2.864e-05/0.1265, allocations: 15.92 kB / 0.6508 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.529e-05/0.1266, allocations: 9.719 kB / 0.6508 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.1267, allocations: 319 kB / 0.6511 GB, free: 11.38 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.296e-05/0.1267, allocations: 4 kB / 0.6511 GB, free: 11.37 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.733e-06/0.1267, allocations: 0 / 0.6511 GB, free: 11.37 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.908e-05/0.1268, allocations: 12.86 kB / 0.6512 GB, free: 11.36 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.1268, allocations: 0 / 0.6512 GB, free: 11.36 MB / 0.4983 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.125e-05/0.1268, allocations: 45.62 kB / 0.6512 GB, free: 11.3 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.1268, allocations: 4 kB / 0.6512 GB, free: 11.3 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1269, allocations: 4.031 kB / 0.6512 GB, free: 11.3 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.1269, allocations: 4 kB / 0.6512 GB, free: 11.29 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.632e-05/0.1269, allocations: 7.938 kB / 0.6512 GB, free: 11.29 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.1269, allocations: 0 / 0.6512 GB, free: 11.29 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.155e-05/0.1269, allocations: 0 / 0.6512 GB, free: 11.29 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-06/0.127, allocations: 0 / 0.6512 GB, free: 11.29 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 7.043e-05/0.127, allocations: 110.7 kB / 0.6513 GB, free: 11.17 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.282e-06/0.127, allocations: 0 / 0.6513 GB, free: 11.17 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.307e-05/0.1271, allocations: 52.75 kB / 0.6514 GB, free: 11.11 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.1271, allocations: 0 / 0.6514 GB, free: 11.11 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1272, allocations: 0 / 0.6514 GB, free: 11.11 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1272, allocations: 0 / 0.6514 GB, free: 11.11 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/0.1273, allocations: 157.6 kB / 0.6515 GB, free: 10.91 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1273, allocations: 0 / 0.6515 GB, free: 10.91 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.747e-05/0.1273, allocations: 0 / 0.6515 GB, free: 10.91 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1273, allocations: 7.938 kB / 0.6515 GB, free: 10.9 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.1273, allocations: 7.938 kB / 0.6515 GB, free: 10.89 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1273, allocations: 3.938 kB / 0.6515 GB, free: 10.89 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1273, allocations: 0 / 0.6515 GB, free: 10.89 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.46e-05/0.1274, allocations: 65.16 kB / 0.6516 GB, free: 10.8 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 3.754e-05/0.1275, allocations: 77.11 kB / 0.6517 GB, free: 10.71 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.1275, allocations: 7.938 kB / 0.6517 GB, free: 10.7 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.014e-05/0.1275, allocations: 0 / 0.6517 GB, free: 10.7 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.566e-06/0.1275, allocations: 0 / 0.6517 GB, free: 10.7 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.1275, allocations: 3.984 kB / 0.6517 GB, free: 10.7 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 3.399e-05/0.1276, allocations: 75.28 kB / 0.6518 GB, free: 10.62 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1276, allocations: 4.031 kB / 0.6518 GB, free: 10.62 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0001701/0.1277, allocations: 4 kB / 0.6518 GB, free: 10.62 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.0003703/0.1281, allocations: 0.605 MB / 0.6524 GB, free: 9.98 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 6.973e-05/0.1282, allocations: 8 kB / 0.6524 GB, free: 9.973 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1282, allocations: 4.094 kB / 0.6524 GB, free: 9.969 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 1.003e-05/0.1282, allocations: 4 kB / 0.6524 GB, free: 9.965 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001238/0.1283, allocations: 4 kB / 0.6524 GB, free: 9.961 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002781/0.1286, allocations: 118.5 kB / 0.6525 GB, free: 9.805 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.1289, allocations: 0.6766 MB / 0.6532 GB, free: 9.102 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 1.866e-05/0.1289, allocations: 0 / 0.6532 GB, free: 9.102 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.88e-05/0.129, allocations: 7.438 kB / 0.6532 GB, free: 9.094 MB / 0.4983 GB Notification: Performance of SimCode: time 2.4e-07/0.129, allocations: 4.062 kB / 0.6532 GB, free: 9.09 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1558/0.2848, allocations: 1.042 MB / 0.6542 GB, free: 8.188 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.12/8.405, allocations: 4.062 kB / 0.6542 GB, free: 8.184 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHist_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHist.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/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