Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.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.001545/0.001545, allocations: 113 kB / 16.46 MB, free: 6.453 MB / 14.72 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.001653/0.001653, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 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 1.512/1.512, allocations: 230.6 MB / 252.8 MB, free: 8.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.348/3.348, allocations: 0.505 GB / 0.8066 GB, free: 23.11 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Utilities.Math.Functions.Examples.BesselY1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003421/0.003421, allocations: 67.39 kB / 1.172 GB, free: 17.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4583/0.4617, allocations: 180.2 MB / 1.348 GB, free: 9.992 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY1): time 0.001846/0.4635, allocations: 0.5896 MB / 1.348 GB, free: 9.406 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0007266/0.4642, allocations: 299.4 kB / 1.349 GB, free: 9.113 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.505e-05/0.4643, allocations: 7.938 kB / 1.349 GB, free: 9.105 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.483e-05/0.4643, allocations: 0 / 1.349 GB, free: 9.105 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.891e-06/0.4643, allocations: 0 / 1.349 GB, free: 9.105 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005118/0.4648, allocations: 103.7 kB / 1.349 GB, free: 9.004 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 4.691e-05/0.4648, allocations: 4 kB / 1.349 GB, free: 9 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.67e-05/0.4649, allocations: 0 / 1.349 GB, free: 9 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 1.444e-05/0.4649, allocations: 3.938 kB / 1.349 GB, free: 8.996 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 2.512e-05/0.4649, allocations: 3.984 kB / 1.349 GB, free: 8.992 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.602e-06/0.4649, allocations: 0 / 1.349 GB, free: 8.992 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002847/0.4652, allocations: 123.8 kB / 1.349 GB, free: 8.871 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.196e-05/0.4652, allocations: 7.984 kB / 1.349 GB, free: 8.863 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 1.694e-05/0.4652, allocations: 4 kB / 1.349 GB, free: 8.859 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.4654, allocations: 76.03 kB / 1.349 GB, free: 8.785 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.4654, allocations: 0 / 1.349 GB, free: 8.785 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.803e-06/0.4654, allocations: 0 / 1.349 GB, free: 8.785 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.4654, allocations: 0 / 1.349 GB, free: 8.785 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004131/0.4659, allocations: 327.3 kB / 1.349 GB, free: 8.414 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/0.4659, allocations: 19.97 kB / 1.349 GB, free: 8.395 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.184e-05/0.466, allocations: 34.75 kB / 1.349 GB, free: 8.352 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.201e-05/0.466, allocations: 0.9375 kB / 1.349 GB, free: 8.352 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.4661, allocations: 164.4 kB / 1.35 GB, free: 8.152 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.4661, allocations: 384 / 1.35 GB, free: 8.152 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.743e-06/0.4661, allocations: 384 / 1.35 GB, free: 8.152 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.4662, allocations: 30.27 kB / 1.35 GB, free: 8.117 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.4662, allocations: 7.875 kB / 1.35 GB, free: 8.109 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.4663, allocations: 3.984 kB / 1.35 GB, free: 8.105 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.4663, allocations: 0 / 1.35 GB, free: 8.105 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.815e-05/0.4663, allocations: 0 / 1.35 GB, free: 8.105 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001858/0.4665, allocations: 153.7 kB / 1.35 GB, free: 7.906 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 4.341e-05/0.4665, allocations: 18.58 kB / 1.35 GB, free: 7.879 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.721e-05/0.4665, allocations: 4.859 kB / 1.35 GB, free: 7.871 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009518/0.4675, allocations: 473.5 kB / 1.35 GB, free: 7.316 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.4675, allocations: 30.56 kB / 1.35 GB, free: 7.277 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 1.363e-06/0.4675, allocations: 0 / 1.35 GB, free: 7.277 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0002073/0.4677, allocations: 41.56 kB / 1.35 GB, free: 7.23 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.959e-05/0.4678, allocations: 55.34 kB / 1.35 GB, free: 7.164 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.171e-05/0.4678, allocations: 89.86 kB / 1.35 GB, free: 7.066 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.4679, allocations: 29.7 kB / 1.35 GB, free: 7.031 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.972e-05/0.4679, allocations: 84.27 kB / 1.35 GB, free: 6.945 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.674e-05/0.468, allocations: 3.953 kB / 1.35 GB, free: 6.941 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-05/0.468, allocations: 13.72 kB / 1.351 GB, free: 6.922 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002004/0.4682, allocations: 310.8 kB / 1.351 GB, free: 6.609 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.084e-05/0.4682, allocations: 4 kB / 1.351 GB, free: 6.605 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.581e-06/0.4682, allocations: 0 / 1.351 GB, free: 6.605 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.52e-05/0.4683, allocations: 16.78 kB / 1.351 GB, free: 6.586 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.4683, allocations: 4.062 kB / 1.351 GB, free: 6.582 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.589e-05/0.4683, allocations: 29.7 kB / 1.351 GB, free: 6.547 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.4683, allocations: 4 kB / 1.351 GB, free: 6.543 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.4684, allocations: 3.938 kB / 1.351 GB, free: 6.539 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.165e-05/0.4684, allocations: 4 kB / 1.351 GB, free: 6.535 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.247e-05/0.4684, allocations: 0 / 1.351 GB, free: 6.535 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.4684, allocations: 3.938 kB / 1.351 GB, free: 6.531 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.374e-05/0.4685, allocations: 4 kB / 1.351 GB, free: 6.527 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.4685, allocations: 0 / 1.351 GB, free: 6.527 MB / 1.045 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 (1): * Single equations (assignments): 1 * 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 0.0001162/0.4686, allocations: 117.9 kB / 1.351 GB, free: 6.402 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.611e-06/0.4686, allocations: 0 / 1.351 GB, free: 6.402 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.4687, allocations: 44.7 kB / 1.351 GB, free: 6.348 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.4687, allocations: 0 / 1.351 GB, free: 6.348 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.4687, allocations: 0 / 1.351 GB, free: 6.348 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.4687, allocations: 0 / 1.351 GB, free: 6.348 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001519/0.4689, allocations: 149.7 kB / 1.351 GB, free: 6.152 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.4689, allocations: 4 kB / 1.351 GB, free: 6.148 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.738e-06/0.4689, allocations: 0 / 1.351 GB, free: 6.148 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.4689, allocations: 0 / 1.351 GB, free: 6.148 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/0.4689, allocations: 7.969 kB / 1.351 GB, free: 6.141 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4689, allocations: 0 / 1.351 GB, free: 6.141 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.4689, allocations: 0 / 1.351 GB, free: 6.141 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.839e-05/0.469, allocations: 61.06 kB / 1.351 GB, free: 6.062 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.804e-05/0.469, allocations: 77.11 kB / 1.351 GB, free: 5.969 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.469, allocations: 3.938 kB / 1.351 GB, free: 5.965 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.746e-06/0.4691, allocations: 4 kB / 1.351 GB, free: 5.961 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.018e-05/0.4691, allocations: 4.031 kB / 1.351 GB, free: 5.957 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.4691, allocations: 4 kB / 1.351 GB, free: 5.953 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.546e-05/0.4691, allocations: 75.28 kB / 1.351 GB, free: 5.879 MB / 1.045 GB Notification: Performance of sort global known variables: time 5e-08/0.4691, allocations: 0 / 1.351 GB, free: 5.879 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002202/0.4693, allocations: 23.94 kB / 1.351 GB, free: 5.855 MB / 1.045 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 (1): * Single equations (assignments): 1 * 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.0007178/0.4701, allocations: 0.6396 MB / 1.352 GB, free: 5.184 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001124/0.4702, allocations: 11.92 kB / 1.352 GB, free: 5.172 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.4702, allocations: 0 / 1.352 GB, free: 5.172 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.009e-05/0.4702, allocations: 8.062 kB / 1.352 GB, free: 5.164 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001326/0.4703, allocations: 0 / 1.352 GB, free: 5.164 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003851/0.4707, allocations: 125.6 kB / 1.352 GB, free: 5.004 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.4711, allocations: 0.6729 MB / 1.353 GB, free: 4.305 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.175e-05/0.4711, allocations: 3.938 kB / 1.353 GB, free: 4.301 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.66e-05/0.4711, allocations: 7.438 kB / 1.353 GB, free: 4.297 MB / 1.045 GB Notification: Performance of SimCode: time 3.11e-07/0.4711, allocations: 4 kB / 1.353 GB, free: 4.293 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02494/0.496, allocations: 1.415 MB / 1.354 GB, free: 2.969 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.163/8.659, allocations: 7.969 kB / 1.354 GB, free: 2.961 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.csv --start-time 0.1 --stop-time 30 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01196 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselY1.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.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: 15.858220202848315]