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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008693/0.0008693, allocations: 79.7 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007867/0.0007867, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8528/0.8528, allocations: 177.1 MB / 204.2 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 0.6012/0.6012, allocations: 88.06 MB / 348.7 MB, free: 14.39 MB / 330.7 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.634e-06/1.634e-06, allocations: 0 / 0.523 GB, free: 4.102 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.321e-05/1.485e-05, allocations: 3.828 kB / 0.523 GB, free: 4.098 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.0007903/0.0008051, allocations: 385.5 kB / 0.5233 GB, free: 3.723 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001589/0.0009641, allocations: 38.83 kB / 0.5234 GB, free: 3.688 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.453e-05/0.0009886, allocations: 0 / 0.5234 GB, free: 3.688 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 1.373e-05/0.001002, allocations: 0 / 0.5234 GB, free: 3.688 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 5.155e-05/0.001054, allocations: 0 / 0.5234 GB, free: 3.688 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001534/0.001207, allocations: 7.984 kB / 0.5234 GB, free: 3.68 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 4.65e-05/0.001254, allocations: 3.938 kB / 0.5234 GB, free: 3.676 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.257e-05/0.001296, allocations: 0 / 0.5234 GB, free: 3.676 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.13e-05/0.001328, allocations: 4 kB / 0.5234 GB, free: 3.672 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.643e-05/0.001374, allocations: 7.984 kB / 0.5234 GB, free: 3.664 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.001388, allocations: 0 / 0.5234 GB, free: 3.664 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.662e-05/0.001444, allocations: 8 kB / 0.5234 GB, free: 3.656 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 9.919e-06/0.001454, allocations: 4 kB / 0.5234 GB, free: 3.652 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 1.871e-05/0.001473, allocations: 4 kB / 0.5234 GB, free: 3.648 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.00019/0.001663, allocations: 15.91 kB / 0.5234 GB, free: 3.633 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.001665, allocations: 0 / 0.5234 GB, free: 3.633 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.022e-06/0.001666, allocations: 0 / 0.5234 GB, free: 3.633 MB / 442.8 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.00167, allocations: 0 / 0.5234 GB, free: 3.633 MB / 442.8 MB 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.0002453/0.001915, allocations: 242.4 kB / 0.5236 GB, free: 3.363 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.001963, allocations: 15.97 kB / 0.5237 GB, free: 3.348 MB / 442.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.105e-05/0.001994, allocations: 38.75 kB / 0.5237 GB, free: 3.301 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.187e-05/0.002016, allocations: 0.9375 kB / 0.5237 GB, free: 3.301 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.3e-05/0.002079, allocations: 101.8 kB / 0.5238 GB, free: 3.176 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.002092, allocations: 4.375 kB / 0.5238 GB, free: 3.172 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.675e-06/0.002099, allocations: 384 / 0.5238 GB, free: 3.172 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.002202, allocations: 38.25 kB / 0.5238 GB, free: 3.129 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.00221, allocations: 4.172 kB / 0.5238 GB, free: 3.125 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.002218, allocations: 384 / 0.5238 GB, free: 3.125 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.002225, allocations: 4.125 kB / 0.5238 GB, free: 3.121 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.62e-05/0.002261, allocations: 7.938 kB / 0.5239 GB, free: 3.113 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001225/0.002383, allocations: 120.8 kB / 0.524 GB, free: 2.953 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 5.677e-05/0.00244, allocations: 22.61 kB / 0.524 GB, free: 2.922 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.854e-05/0.002459, allocations: 8.844 kB / 0.524 GB, free: 2.91 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001878/0.002646, allocations: 8.062 kB / 0.524 GB, free: 2.902 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.002665, allocations: 34.56 kB / 0.524 GB, free: 2.859 MB / 442.8 MB Notification: Performance of pre-optimization done (n=2): time 7.22e-07/0.002666, allocations: 0 / 0.524 GB, free: 2.859 MB / 442.8 MB Notification: Performance of matching and sorting (n=2): time 0.0001224/0.002789, allocations: 41.62 kB / 0.5241 GB, free: 2.812 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.002823, allocations: 59.34 kB / 0.5241 GB, free: 2.742 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.482e-05/0.002848, allocations: 89.86 kB / 0.5242 GB, free: 2.645 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.002857, allocations: 29.83 kB / 0.5243 GB, free: 2.609 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.215e-05/0.002879, allocations: 80.14 kB / 0.5243 GB, free: 2.527 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.936e-05/0.002908, allocations: 7.953 kB / 0.5243 GB, free: 2.52 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.258e-05/0.002931, allocations: 13.72 kB / 0.5243 GB, free: 2.5 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 7.759e-05/0.003008, allocations: 314.8 kB / 0.5246 GB, free: 2.184 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.316e-05/0.003022, allocations: 4 kB / 0.5247 GB, free: 2.18 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.274e-06/0.003029, allocations: 4 kB / 0.5247 GB, free: 2.176 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.447e-05/0.003053, allocations: 8.859 kB / 0.5247 GB, free: 2.164 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.003055, allocations: 3.938 kB / 0.5247 GB, free: 2.16 MB / 442.8 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.826e-05/0.003093, allocations: 45.7 kB / 0.5247 GB, free: 2.109 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.003106, allocations: 8 kB / 0.5247 GB, free: 2.102 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.00311, allocations: 0 / 0.5247 GB, free: 2.102 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.003123, allocations: 3.984 kB / 0.5247 GB, free: 2.098 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.557e-05/0.003168, allocations: 4 kB / 0.5247 GB, free: 2.094 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.003175, allocations: 3.938 kB / 0.5247 GB, free: 2.09 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.744e-06/0.003183, allocations: 0 / 0.5247 GB, free: 2.09 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-06/0.003187, allocations: 0 / 0.5247 GB, free: 2.09 MB / 442.8 MB 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 5.286e-05/0.00324, allocations: 110.5 kB / 0.5248 GB, free: 1.973 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.474e-06/0.003242, allocations: 0 / 0.5248 GB, free: 1.973 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.827e-05/0.003321, allocations: 56.77 kB / 0.5249 GB, free: 1.91 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-06/0.003322, allocations: 0 / 0.5249 GB, free: 1.91 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.003327, allocations: 3.938 kB / 0.5249 GB, free: 1.906 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.003329, allocations: 3.938 kB / 0.5249 GB, free: 1.902 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.968e-05/0.003389, allocations: 120.8 kB / 0.525 GB, free: 1.742 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-07/0.00339, allocations: 0 / 0.525 GB, free: 1.742 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.004e-05/0.0034, allocations: 7.984 kB / 0.525 GB, free: 1.734 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.003401, allocations: 0 / 0.525 GB, free: 1.734 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.281e-06/0.003407, allocations: 0 / 0.525 GB, free: 1.734 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.003409, allocations: 4 kB / 0.525 GB, free: 1.73 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.003411, allocations: 7.969 kB / 0.525 GB, free: 1.723 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.806e-05/0.003459, allocations: 65.09 kB / 0.5251 GB, free: 1.641 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.516e-06/0.003462, allocations: 3.984 kB / 0.5251 GB, free: 1.637 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.536e-06/0.003471, allocations: 0 / 0.5251 GB, free: 1.637 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.248e-06/0.003475, allocations: 0 / 0.5251 GB, free: 1.637 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.279e-05/0.003488, allocations: 7.875 kB / 0.5251 GB, free: 1.629 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/0.00349, allocations: 4 kB / 0.5251 GB, free: 1.625 MB / 442.8 MB Notification: Performance of sorting global known variables: time 2.113e-05/0.003511, allocations: 75.28 kB / 0.5252 GB, free: 1.551 MB / 442.8 MB Notification: Performance of sort global known variables: time 5.1e-08/0.003511, allocations: 0 / 0.5252 GB, free: 1.551 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0001158/0.003627, allocations: 7.938 kB / 0.5252 GB, free: 1.543 MB / 442.8 MB 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.0004921/0.004119, allocations: 0.593 MB / 0.5258 GB, free: 0.9219 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 5.998e-05/0.004179, allocations: 11.94 kB / 0.5258 GB, free: 0.9102 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.00418, allocations: 0 / 0.5258 GB, free: 0.9102 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 6.142e-06/0.004186, allocations: 7.984 kB / 0.5258 GB, free: 0.9023 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.182e-05/0.004278, allocations: 17.12 kB / 0.5258 GB, free: 0.8867 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002363/0.004514, allocations: 110.5 kB / 0.5259 GB, free: 0.7383 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.452e-05/0.004549, allocations: 59.34 kB / 0.526 GB, free: 0.6602 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 1.775e-05/0.004567, allocations: 4.156 kB / 0.526 GB, free: 0.6562 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.07e-05/0.004587, allocations: 12.5 kB / 0.526 GB, free: 0.6445 MB / 442.8 MB Notification: Performance of SimCode: time 4.11e-07/0.004588, allocations: 0 / 0.526 GB, free: 0.6445 MB / 442.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01341/0.018, allocations: 1.661 MB / 0.5276 GB, free: 15.1 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.698/6.716, allocations: 11.06 kB / 0.5276 GB, free: 15.09 MB / 458.8 MB " [Timeout remaining time 293] (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) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.371862270869315]