Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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.001313/0.001313, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001469/0.001469, allocations: 216.8 kB / 22.25 MB, free: 5.082 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.447/1.447, allocations: 230.6 MB / 256 MB, free: 8.004 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.284/3.284, allocations: 0.505 GB / 0.8101 GB, free: 22.19 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.Examples.BesselY1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_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.002082/0.002082, allocations: 68.64 kB / 1.177 GB, free: 17.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3888/0.3908, allocations: 180.2 MB / 1.353 GB, free: 8.43 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.002946/0.3938, allocations: 1.46 MB / 1.354 GB, free: 6.961 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0009314/0.3947, allocations: 370.8 kB / 1.355 GB, free: 6.598 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.625e-05/0.3947, allocations: 0 / 1.355 GB, free: 6.598 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.217e-05/0.3948, allocations: 3.938 kB / 1.355 GB, free: 6.594 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.847e-05/0.3948, allocations: 0 / 1.355 GB, free: 6.594 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000546/0.3954, allocations: 115.6 kB / 1.355 GB, free: 6.48 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.11e-05/0.3955, allocations: 19.97 kB / 1.355 GB, free: 6.461 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.3956, allocations: 8 kB / 1.355 GB, free: 6.453 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.431e-05/0.3957, allocations: 7.938 kB / 1.355 GB, free: 6.445 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.074e-05/0.3957, allocations: 7.984 kB / 1.355 GB, free: 6.438 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.3957, allocations: 8 kB / 1.355 GB, free: 6.43 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002643/0.396, allocations: 131.7 kB / 1.355 GB, free: 6.301 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.265e-05/0.396, allocations: 11.94 kB / 1.355 GB, free: 6.289 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.834e-05/0.396, allocations: 3.984 kB / 1.355 GB, free: 6.285 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002326/0.3963, allocations: 95.91 kB / 1.355 GB, free: 6.191 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3963, allocations: 0 / 1.355 GB, free: 6.191 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.834e-06/0.3963, allocations: 0 / 1.355 GB, free: 6.191 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.3963, allocations: 4 kB / 1.355 GB, free: 6.188 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005027/0.3968, allocations: 270.2 kB / 1.355 GB, free: 5.891 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.3968, allocations: 20.02 kB / 1.355 GB, free: 5.871 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.645e-05/0.3969, allocations: 30.75 kB / 1.355 GB, free: 5.832 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.461e-05/0.3969, allocations: 0.9375 kB / 1.355 GB, free: 5.832 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.397, allocations: 118.4 kB / 1.355 GB, free: 5.691 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.397, allocations: 384 / 1.355 GB, free: 5.691 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.134e-06/0.397, allocations: 384 / 1.355 GB, free: 5.691 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.3972, allocations: 54.17 kB / 1.356 GB, free: 5.633 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.3972, allocations: 7.875 kB / 1.356 GB, free: 5.625 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.3973, allocations: 0 / 1.356 GB, free: 5.625 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.3973, allocations: 8 kB / 1.356 GB, free: 5.617 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001639/0.3974, allocations: 31.95 kB / 1.356 GB, free: 5.586 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003555/0.3978, allocations: 216.1 kB / 1.356 GB, free: 5.332 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.3979, allocations: 34.5 kB / 1.356 GB, free: 5.289 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.35e-05/0.398, allocations: 32.89 kB / 1.356 GB, free: 5.254 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005959/0.3986, allocations: 83.91 kB / 1.356 GB, free: 5.172 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.3986, allocations: 42.5 kB / 1.356 GB, free: 5.121 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.3986, allocations: 0 / 1.356 GB, free: 5.121 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.00036/0.399, allocations: 81.64 kB / 1.356 GB, free: 5.035 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.399, allocations: 51.41 kB / 1.356 GB, free: 4.973 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.02e-05/0.3991, allocations: 97.86 kB / 1.356 GB, free: 4.867 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.3991, allocations: 25.83 kB / 1.356 GB, free: 4.836 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.852e-05/0.3992, allocations: 88.14 kB / 1.356 GB, free: 4.746 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/0.3992, allocations: 7.938 kB / 1.356 GB, free: 4.738 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.289e-05/0.3993, allocations: 17.66 kB / 1.356 GB, free: 4.715 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.3994, allocations: 314.8 kB / 1.357 GB, free: 4.398 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.826e-05/0.3995, allocations: 11.98 kB / 1.357 GB, free: 4.387 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.365e-05/0.3996, allocations: 23.91 kB / 1.357 GB, free: 4.363 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.3997, allocations: 40.89 kB / 1.357 GB, free: 4.32 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/0.3997, allocations: 3.938 kB / 1.357 GB, free: 4.316 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001935/0.3999, allocations: 69.61 kB / 1.357 GB, free: 4.242 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.3999, allocations: 4 kB / 1.357 GB, free: 4.238 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.3999, allocations: 0 / 1.357 GB, free: 4.238 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.4, allocations: 0 / 1.357 GB, free: 4.238 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.976e-05/0.4, allocations: 12.03 kB / 1.357 GB, free: 4.227 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.4001, allocations: 3.984 kB / 1.357 GB, free: 4.223 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.221e-05/0.4001, allocations: 4 kB / 1.357 GB, free: 4.219 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-06/0.4001, allocations: 0 / 1.357 GB, free: 4.219 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 (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 9.67e-05/0.4002, allocations: 122.3 kB / 1.357 GB, free: 4.09 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.169e-05/0.4002, allocations: 4.188 kB / 1.357 GB, free: 4.086 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002383/0.4005, allocations: 72.95 kB / 1.357 GB, free: 4.012 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.4005, allocations: 3.984 kB / 1.357 GB, free: 4.008 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.4005, allocations: 0 / 1.357 GB, free: 4.008 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.4005, allocations: 7.938 kB / 1.357 GB, free: 4 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001843/0.4007, allocations: 132.7 kB / 1.357 GB, free: 3.828 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4007, allocations: 0 / 1.357 GB, free: 3.828 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.482e-05/0.4007, allocations: 7.984 kB / 1.357 GB, free: 3.82 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.4007, allocations: 0 / 1.357 GB, free: 3.82 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.4007, allocations: 4 kB / 1.357 GB, free: 3.816 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4007, allocations: 0 / 1.357 GB, free: 3.816 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4007, allocations: 4.031 kB / 1.357 GB, free: 3.812 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002395/0.401, allocations: 163.4 kB / 1.357 GB, free: 3.637 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.346e-06/0.401, allocations: 3.953 kB / 1.357 GB, free: 3.633 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.401, allocations: 4 kB / 1.357 GB, free: 3.629 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.139e-05/0.4011, allocations: 7.984 kB / 1.357 GB, free: 3.621 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.227e-05/0.4011, allocations: 4.031 kB / 1.357 GB, free: 3.617 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.4011, allocations: 8 kB / 1.357 GB, free: 3.609 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.402e-05/0.4012, allocations: 79.27 kB / 1.357 GB, free: 3.531 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.4012, allocations: 4 kB / 1.357 GB, free: 3.527 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002717/0.4014, allocations: 31.88 kB / 1.357 GB, free: 3.496 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 (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.0007513/0.4022, allocations: 0.7288 MB / 1.358 GB, free: 2.738 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002221/0.4024, allocations: 43.98 kB / 1.358 GB, free: 2.695 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4024, allocations: 0 / 1.358 GB, free: 2.695 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 7.974e-05/0.4025, allocations: 15.98 kB / 1.358 GB, free: 2.68 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.4027, allocations: 7.938 kB / 1.358 GB, free: 2.672 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004775/0.4032, allocations: 151 kB / 1.358 GB, free: 2.484 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/0.4036, allocations: 0.6769 MB / 1.359 GB, free: 1.781 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.38e-05/0.4036, allocations: 7.938 kB / 1.359 GB, free: 1.773 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.837e-05/0.4036, allocations: 11.42 kB / 1.359 GB, free: 1.762 MB / 1.045 GB Notification: Performance of SimCode: time 3e-07/0.4036, allocations: 0 / 1.359 GB, free: 1.762 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02797/0.4316, allocations: 1.876 MB / 1.361 GB, free: 8 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.14, allocations: 2.297 kB / 1.361 GB, free: 8 kB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.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_Examples_BesselY1.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.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: 18.191317887999503]