Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.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.0018/0.0018, allocations: 100.2 kB / 16.45 MB, free: 6.504 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.002272/0.002272, allocations: 212.9 kB / 19.43 MB, free: 3.656 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.499/1.499, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.341/3.341, 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.Examples.BesselY0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselY0",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.00208/0.00208, allocations: 73 kB / 1.172 GB, free: 17.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4294/0.4315, allocations: 180.2 MB / 1.348 GB, free: 10 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.003198/0.4347, allocations: 1.444 MB / 1.349 GB, free: 8.547 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0009269/0.4356, allocations: 351.2 kB / 1.35 GB, free: 8.203 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.53e-05/0.4356, allocations: 0 / 1.35 GB, free: 8.203 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.606e-05/0.4357, allocations: 0 / 1.35 GB, free: 8.203 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.898e-05/0.4357, allocations: 7.922 kB / 1.35 GB, free: 8.195 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000551/0.4363, allocations: 106 kB / 1.35 GB, free: 8.094 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.229e-05/0.4364, allocations: 27.91 kB / 1.35 GB, free: 8.066 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.4365, allocations: 0 / 1.35 GB, free: 8.066 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.673e-05/0.4365, allocations: 11.94 kB / 1.35 GB, free: 8.055 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.669e-05/0.4366, allocations: 11.98 kB / 1.35 GB, free: 8.043 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.4366, allocations: 0 / 1.35 GB, free: 8.043 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002936/0.4369, allocations: 131.7 kB / 1.35 GB, free: 7.914 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.524e-05/0.4369, allocations: 4 kB / 1.35 GB, free: 7.91 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.242e-05/0.4369, allocations: 11.94 kB / 1.35 GB, free: 7.898 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002253/0.4372, allocations: 84.03 kB / 1.35 GB, free: 7.816 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.4372, allocations: 0 / 1.35 GB, free: 7.816 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4372, allocations: 4 kB / 1.35 GB, free: 7.812 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.4372, allocations: 0 / 1.35 GB, free: 7.812 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.0006286/0.4378, allocations: 359.2 kB / 1.35 GB, free: 7.41 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.4379, allocations: 11.98 kB / 1.35 GB, free: 7.398 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.208e-05/0.4379, allocations: 30.75 kB / 1.35 GB, free: 7.359 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.836e-05/0.4379, allocations: 4.938 kB / 1.35 GB, free: 7.355 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.4381, allocations: 172.2 kB / 1.35 GB, free: 7.148 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.4381, allocations: 384 / 1.35 GB, free: 7.148 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.4381, allocations: 4.375 kB / 1.35 GB, free: 7.145 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.4383, allocations: 50.23 kB / 1.35 GB, free: 7.09 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.4383, allocations: 3.938 kB / 1.35 GB, free: 7.086 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.4383, allocations: 4 kB / 1.35 GB, free: 7.082 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.4383, allocations: 0 / 1.35 GB, free: 7.082 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001767/0.4385, allocations: 35.89 kB / 1.351 GB, free: 7.047 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004276/0.4389, allocations: 248.9 kB / 1.351 GB, free: 6.754 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001445/0.4391, allocations: 46.42 kB / 1.351 GB, free: 6.699 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.4392, allocations: 24.91 kB / 1.351 GB, free: 6.672 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008506/0.4401, allocations: 461.5 kB / 1.351 GB, free: 6.129 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/0.4401, allocations: 34.55 kB / 1.351 GB, free: 6.086 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.243e-06/0.4401, allocations: 0 / 1.351 GB, free: 6.086 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0004178/0.4405, allocations: 77.59 kB / 1.351 GB, free: 6.004 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.042e-05/0.4406, allocations: 55.39 kB / 1.351 GB, free: 5.938 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.4407, allocations: 102 kB / 1.352 GB, free: 5.828 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.4407, allocations: 29.7 kB / 1.352 GB, free: 5.793 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.253e-05/0.4408, allocations: 84.14 kB / 1.352 GB, free: 5.707 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.4408, allocations: 3.953 kB / 1.352 GB, free: 5.703 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.723e-05/0.4408, allocations: 17.7 kB / 1.352 GB, free: 5.68 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.441, allocations: 310.8 kB / 1.352 GB, free: 5.367 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.754e-05/0.4411, allocations: 15.98 kB / 1.352 GB, free: 5.352 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.447e-05/0.4411, allocations: 19.98 kB / 1.352 GB, free: 5.332 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.4413, allocations: 44.81 kB / 1.352 GB, free: 5.285 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.4413, allocations: 3.938 kB / 1.352 GB, free: 5.281 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002077/0.4415, allocations: 69.56 kB / 1.352 GB, free: 5.207 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.4415, allocations: 10.27 kB / 1.352 GB, free: 5.199 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.4415, allocations: 4 kB / 1.352 GB, free: 5.195 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.4416, allocations: 4.188 kB / 1.352 GB, free: 5.191 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.27e-05/0.4417, allocations: 4 kB / 1.352 GB, free: 5.188 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.4417, allocations: 0 / 1.352 GB, free: 5.188 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.191e-05/0.4417, allocations: 7.984 kB / 1.352 GB, free: 5.18 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.4417, allocations: 0 / 1.352 GB, free: 5.18 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 0.0001185/0.4418, allocations: 113.8 kB / 1.352 GB, free: 5.059 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.4419, allocations: 3.984 kB / 1.352 GB, free: 5.055 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002559/0.4421, allocations: 76.72 kB / 1.352 GB, free: 4.969 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.4421, allocations: 7.984 kB / 1.352 GB, free: 4.961 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.4421, allocations: 0 / 1.352 GB, free: 4.961 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.4421, allocations: 0 / 1.352 GB, free: 4.961 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000203/0.4423, allocations: 157.6 kB / 1.352 GB, free: 4.758 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.4423, allocations: 0 / 1.352 GB, free: 4.758 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.462e-05/0.4424, allocations: 7.984 kB / 1.352 GB, free: 4.75 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.4424, allocations: 7.938 kB / 1.352 GB, free: 4.742 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.4424, allocations: 4.031 kB / 1.352 GB, free: 4.738 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.4424, allocations: 0 / 1.352 GB, free: 4.738 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4424, allocations: 0 / 1.352 GB, free: 4.738 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002719/0.4427, allocations: 163.5 kB / 1.353 GB, free: 4.562 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.095e-05/0.4427, allocations: 81.06 kB / 1.353 GB, free: 4.465 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.4427, allocations: 0 / 1.353 GB, free: 4.465 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.318e-05/0.4428, allocations: 15.95 kB / 1.353 GB, free: 4.449 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.874e-05/0.4429, allocations: 4 kB / 1.353 GB, free: 4.445 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.4429, allocations: 0 / 1.353 GB, free: 4.445 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.07e-05/0.4429, allocations: 91.2 kB / 1.353 GB, free: 4.355 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4429, allocations: 0 / 1.353 GB, free: 4.355 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002776/0.4432, allocations: 27.94 kB / 1.353 GB, free: 4.328 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.0008407/0.4441, allocations: 0.7319 MB / 1.354 GB, free: 3.566 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002372/0.4443, allocations: 35.95 kB / 1.354 GB, free: 3.531 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4443, allocations: 0 / 1.354 GB, free: 3.531 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.4444, allocations: 23.92 kB / 1.354 GB, free: 3.508 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.4446, allocations: 0 / 1.354 GB, free: 3.508 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004814/0.4451, allocations: 151.1 kB / 1.354 GB, free: 3.32 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/0.4455, allocations: 0.6807 MB / 1.354 GB, free: 2.613 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.272e-05/0.4455, allocations: 4 kB / 1.354 GB, free: 2.609 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.126e-05/0.4455, allocations: 11.44 kB / 1.354 GB, free: 2.598 MB / 1.045 GB Notification: Performance of SimCode: time 2.71e-07/0.4455, allocations: 0 / 1.354 GB, free: 2.598 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0267/0.4722, allocations: 1.757 MB / 1.356 GB, free: 0.9141 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.183/8.655, allocations: 6.172 kB / 1.356 GB, free: 0.9102 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0_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_BesselY0.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.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.729734275024384]