Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.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.000855/0.000855, allocations: 83.69 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.0008948/0.0008948, 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.8419/0.8419, allocations: 177.1 MB / 204.3 MB, free: 5.715 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.5916/0.5916, allocations: 88.06 MB / 348.7 MB, free: 14.38 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.TestSat,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestSat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestSat",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.5229 GB, free: 4.113 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.145e-05/1.281e-05, allocations: 7.828 kB / 0.523 GB, free: 4.105 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat): time 0.0008841/0.0008969, allocations: 401.4 kB / 0.5233 GB, free: 3.715 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0003172/0.001214, allocations: 179.2 kB / 0.5235 GB, free: 3.543 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.331e-05/0.001237, allocations: 0 / 0.5235 GB, free: 3.543 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 1.461e-05/0.001252, allocations: 0 / 0.5235 GB, free: 3.543 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 5.106e-05/0.001303, allocations: 0 / 0.5235 GB, free: 3.543 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001689/0.001472, allocations: 23.91 kB / 0.5235 GB, free: 3.52 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 5.345e-05/0.001525, allocations: 0 / 0.5235 GB, free: 3.52 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.4e-05/0.001569, allocations: 4 kB / 0.5235 GB, free: 3.516 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.79e-05/0.001597, allocations: 4 kB / 0.5235 GB, free: 3.512 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.338e-05/0.001641, allocations: 0 / 0.5235 GB, free: 3.512 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.001655, allocations: 0 / 0.5235 GB, free: 3.512 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.91e-05/0.001714, allocations: 15.92 kB / 0.5236 GB, free: 3.496 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 1.222e-05/0.001726, allocations: 3.938 kB / 0.5236 GB, free: 3.492 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 1.559e-05/0.001742, allocations: 8 kB / 0.5236 GB, free: 3.484 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 8.13e-05/0.001823, allocations: 19.95 kB / 0.5236 GB, free: 3.465 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.001825, allocations: 0 / 0.5236 GB, free: 3.465 MB / 442.8 MB Notification: Performance of FrontEnd: time 4.91e-07/0.001825, allocations: 4 kB / 0.5236 GB, free: 3.461 MB / 442.8 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.001829, allocations: 4 kB / 0.5236 GB, free: 3.457 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.0002281/0.002057, allocations: 238.4 kB / 0.5238 GB, free: 3.191 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.002092, allocations: 11.97 kB / 0.5238 GB, free: 3.18 MB / 442.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.492e-05/0.002116, allocations: 30.75 kB / 0.5239 GB, free: 3.141 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.002e-05/0.002136, allocations: 4.938 kB / 0.5239 GB, free: 3.137 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.29e-05/0.002189, allocations: 105.8 kB / 0.524 GB, free: 3.008 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.002198, allocations: 4.312 kB / 0.524 GB, free: 3.004 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.811e-06/0.002204, allocations: 384 / 0.524 GB, free: 3.004 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.973e-05/0.002283, allocations: 34.27 kB / 0.524 GB, free: 2.965 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.00229, allocations: 4.188 kB / 0.524 GB, free: 2.961 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.002298, allocations: 384 / 0.524 GB, free: 2.961 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.002307, allocations: 4.125 kB / 0.524 GB, free: 2.957 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.916e-05/0.002337, allocations: 4 kB / 0.524 GB, free: 2.953 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001007/0.002437, allocations: 124.8 kB / 0.5241 GB, free: 2.789 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 4.487e-05/0.002482, allocations: 26.55 kB / 0.5242 GB, free: 2.754 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.697e-05/0.002499, allocations: 8.922 kB / 0.5242 GB, free: 2.742 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000145/0.002644, allocations: 7.984 kB / 0.5242 GB, free: 2.734 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.002662, allocations: 38.56 kB / 0.5242 GB, free: 2.688 MB / 442.8 MB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.002663, allocations: 4 kB / 0.5242 GB, free: 2.684 MB / 442.8 MB Notification: Performance of matching and sorting (n=2): time 0.0001105/0.002774, allocations: 33.7 kB / 0.5243 GB, free: 2.645 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/0.002802, allocations: 55.34 kB / 0.5243 GB, free: 2.578 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.385e-05/0.002826, allocations: 93.8 kB / 0.5244 GB, free: 2.477 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 9.498e-06/0.002836, allocations: 25.7 kB / 0.5244 GB, free: 2.445 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.847e-05/0.002854, allocations: 80.14 kB / 0.5245 GB, free: 2.363 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.002884, allocations: 15.94 kB / 0.5245 GB, free: 2.348 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.978e-05/0.002904, allocations: 9.719 kB / 0.5245 GB, free: 2.332 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.003039, allocations: 310.8 kB / 0.5248 GB, free: 2.02 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.38e-05/0.003073, allocations: 7.938 kB / 0.5248 GB, free: 2.012 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.489e-05/0.003088, allocations: 8.125 kB / 0.5248 GB, free: 2.004 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.324e-05/0.003131, allocations: 12.86 kB / 0.5248 GB, free: 1.988 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.003133, allocations: 0 / 0.5248 GB, free: 1.988 MB / 442.8 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.407e-05/0.003167, allocations: 41.69 kB / 0.5249 GB, free: 1.941 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.003178, allocations: 6.812 kB / 0.5249 GB, free: 1.938 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.003183, allocations: 0 / 0.5249 GB, free: 1.938 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.003193, allocations: 0 / 0.5249 GB, free: 1.938 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.137e-05/0.003234, allocations: 4 kB / 0.5249 GB, free: 1.934 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.003244, allocations: 3.938 kB / 0.5249 GB, free: 1.93 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.394e-06/0.003251, allocations: 8.031 kB / 0.5249 GB, free: 1.922 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.003257, allocations: 4 kB / 0.5249 GB, free: 1.918 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 4.638e-05/0.003303, allocations: 105.8 kB / 0.525 GB, free: 1.805 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.665e-06/0.003306, allocations: 0 / 0.525 GB, free: 1.805 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.948e-05/0.003375, allocations: 48.8 kB / 0.5251 GB, free: 1.75 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.003376, allocations: 0 / 0.5251 GB, free: 1.75 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.003381, allocations: 3.938 kB / 0.5251 GB, free: 1.746 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.003383, allocations: 3.938 kB / 0.5251 GB, free: 1.742 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.526e-05/0.003439, allocations: 124.8 kB / 0.5252 GB, free: 1.578 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-07/0.003439, allocations: 4.031 kB / 0.5252 GB, free: 1.574 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.468e-06/0.003449, allocations: 7.984 kB / 0.5252 GB, free: 1.566 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.003452, allocations: 4 kB / 0.5252 GB, free: 1.562 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-06/0.003457, allocations: 0 / 0.5252 GB, free: 1.562 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.3e-07/0.003457, allocations: 0 / 0.5252 GB, free: 1.562 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.003459, allocations: 3.938 kB / 0.5252 GB, free: 1.559 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.879e-05/0.003508, allocations: 73.02 kB / 0.5253 GB, free: 1.469 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.896e-06/0.003511, allocations: 0 / 0.5253 GB, free: 1.469 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.765e-06/0.003518, allocations: 0 / 0.5253 GB, free: 1.469 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.138e-06/0.003522, allocations: 0 / 0.5253 GB, free: 1.469 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.224e-05/0.003535, allocations: 7.938 kB / 0.5253 GB, free: 1.461 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.72e-07/0.003536, allocations: 7.969 kB / 0.5253 GB, free: 1.453 MB / 442.8 MB Notification: Performance of sorting global known variables: time 1.826e-05/0.003554, allocations: 75.28 kB / 0.5254 GB, free: 1.379 MB / 442.8 MB Notification: Performance of sort global known variables: time 4e-08/0.003554, allocations: 0 / 0.5254 GB, free: 1.379 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0001146/0.003668, allocations: 7.938 kB / 0.5254 GB, free: 1.371 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.0002282/0.003897, allocations: 0.6007 MB / 0.526 GB, free: 0.7422 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 5.54e-05/0.003952, allocations: 8 kB / 0.526 GB, free: 0.7344 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.133e-06/0.003953, allocations: 0 / 0.526 GB, free: 0.7344 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 5.961e-06/0.003959, allocations: 4 kB / 0.526 GB, free: 0.7305 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.875e-05/0.004048, allocations: 12.66 kB / 0.526 GB, free: 0.7188 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002269/0.004275, allocations: 114.5 kB / 0.5261 GB, free: 0.5664 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.144e-05/0.004306, allocations: 55.36 kB / 0.5261 GB, free: 0.4922 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 1.528e-05/0.004321, allocations: 3.938 kB / 0.5261 GB, free: 500 kB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.815e-05/0.00434, allocations: 12.5 kB / 0.5262 GB, free: 488 kB / 442.8 MB Notification: Performance of SimCode: time 3.41e-07/0.00434, allocations: 0 / 0.5262 GB, free: 488 kB / 442.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01812/0.02246, allocations: 1.738 MB / 0.5278 GB, free: 14.86 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.832/6.854, allocations: 15 kB / 0.5279 GB, free: 14.85 MB / 458.8 MB " [Timeout remaining time 293] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_res.csv --start-time 0 --stop-time 1 --timeout 300 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.00004e-05 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestSat.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe 2>&1) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.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.88528320286423]