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.001252/0.001252, allocations: 113.8 kB / 19.73 MB, free: 2.242 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.002081/0.002081, allocations: 219.6 kB / 23.04 MB, free: 5.074 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.578/1.578, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.359/3.359, allocations: 0.5003 GB / 0.8061 GB, free: 26.78 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselY0",fmuType="cs",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.002046/0.002046, allocations: 66.42 kB / 1.171 GB, free: 19.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4677/0.4697, allocations: 179 MB / 1.345 GB, free: 496 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.00305/0.4728, allocations: 1.47 MB / 1.347 GB, free: 15 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0007838/0.4735, allocations: 342.9 kB / 1.347 GB, free: 14.67 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.231e-05/0.4736, allocations: 0 / 1.347 GB, free: 14.67 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.534e-05/0.4736, allocations: 3.938 kB / 1.347 GB, free: 14.66 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.117e-05/0.4737, allocations: 11.92 kB / 1.347 GB, free: 14.65 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004873/0.4741, allocations: 99.72 kB / 1.347 GB, free: 14.55 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.366e-05/0.4742, allocations: 19.92 kB / 1.347 GB, free: 14.54 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.4743, allocations: 15.98 kB / 1.347 GB, free: 14.52 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.202e-05/0.4744, allocations: 7.938 kB / 1.347 GB, free: 14.51 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.795e-05/0.4744, allocations: 11.98 kB / 1.347 GB, free: 14.5 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.4745, allocations: 4 kB / 1.347 GB, free: 14.5 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002538/0.4747, allocations: 119.8 kB / 1.347 GB, free: 14.38 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.336e-05/0.4747, allocations: 15.92 kB / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.192e-05/0.4748, allocations: 0 / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002233/0.475, allocations: 95.91 kB / 1.347 GB, free: 14.27 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.475, allocations: 0 / 1.347 GB, free: 14.27 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.443e-06/0.475, allocations: 0 / 1.347 GB, free: 14.27 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.475, allocations: 0 / 1.347 GB, free: 14.27 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.0005752/0.4756, allocations: 278.2 kB / 1.348 GB, free: 13.96 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.4756, allocations: 12.03 kB / 1.348 GB, free: 13.95 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.067e-05/0.4756, allocations: 4.188 kB / 1.348 GB, free: 13.95 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.366e-05/0.4757, allocations: 30.75 kB / 1.348 GB, free: 13.91 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.793e-05/0.4757, allocations: 0.9375 kB / 1.348 GB, free: 13.91 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.4758, allocations: 118.4 kB / 1.348 GB, free: 13.77 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-06/0.4758, allocations: 384 / 1.348 GB, free: 13.77 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.278e-06/0.4759, allocations: 4.312 kB / 1.348 GB, free: 13.77 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.476, allocations: 61.86 kB / 1.348 GB, free: 13.7 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.4761, allocations: 4 kB / 1.348 GB, free: 13.7 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.4761, allocations: 0 / 1.348 GB, free: 13.7 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.4761, allocations: 4 kB / 1.348 GB, free: 13.69 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001627/0.4762, allocations: 31.95 kB / 1.348 GB, free: 13.66 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004182/0.4767, allocations: 224 kB / 1.348 GB, free: 13.4 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001445/0.4768, allocations: 38.56 kB / 1.348 GB, free: 13.35 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.214e-05/0.4769, allocations: 24.91 kB / 1.348 GB, free: 13.32 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005983/0.4775, allocations: 79.84 kB / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.4775, allocations: 38.56 kB / 1.348 GB, free: 13.2 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.001e-06/0.4775, allocations: 0 / 1.348 GB, free: 13.2 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0003905/0.4779, allocations: 81.64 kB / 1.348 GB, free: 13.11 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.478, allocations: 51.41 kB / 1.349 GB, free: 13.05 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.425e-05/0.478, allocations: 93.86 kB / 1.349 GB, free: 12.95 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.4781, allocations: 25.7 kB / 1.349 GB, free: 12.92 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.346e-05/0.4781, allocations: 88.27 kB / 1.349 GB, free: 12.83 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/0.4781, allocations: 11.94 kB / 1.349 GB, free: 12.82 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/0.4782, allocations: 9.719 kB / 1.349 GB, free: 12.8 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.4784, allocations: 318.8 kB / 1.349 GB, free: 12.48 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.654e-05/0.4784, allocations: 15.92 kB / 1.349 GB, free: 12.46 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.575e-05/0.4785, allocations: 15.98 kB / 1.349 GB, free: 12.45 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.4787, allocations: 48.81 kB / 1.349 GB, free: 12.4 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4787, allocations: 0 / 1.349 GB, free: 12.4 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001907/0.4789, allocations: 69.61 kB / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.4789, allocations: 4 kB / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.4789, allocations: 0 / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.4789, allocations: 0 / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.012e-05/0.479, allocations: 12.03 kB / 1.349 GB, free: 12.31 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.479, allocations: 3.984 kB / 1.349 GB, free: 12.3 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.327e-05/0.4791, allocations: 4 kB / 1.349 GB, free: 12.3 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.4791, allocations: 0 / 1.349 GB, free: 12.3 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.0001095/0.4792, allocations: 118.4 kB / 1.349 GB, free: 12.18 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.785e-05/0.4792, allocations: 4 kB / 1.349 GB, free: 12.17 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002442/0.4794, allocations: 72.95 kB / 1.349 GB, free: 12.09 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.4794, allocations: 0 / 1.349 GB, free: 12.09 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.4795, allocations: 0 / 1.349 GB, free: 12.09 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.4795, allocations: 3.938 kB / 1.349 GB, free: 12.09 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.4796, allocations: 132.7 kB / 1.35 GB, free: 11.92 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4796, allocations: 0 / 1.35 GB, free: 11.92 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.373e-05/0.4797, allocations: 7.984 kB / 1.35 GB, free: 11.91 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.4797, allocations: 0 / 1.35 GB, free: 11.91 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.4797, allocations: 7.938 kB / 1.35 GB, free: 11.9 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.4797, allocations: 4 kB / 1.35 GB, free: 11.9 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.4797, allocations: 4.031 kB / 1.35 GB, free: 11.89 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002486/0.48, allocations: 163.4 kB / 1.35 GB, free: 11.72 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.937e-06/0.48, allocations: 3.953 kB / 1.35 GB, free: 11.71 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.48, allocations: 0 / 1.35 GB, free: 11.71 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.966e-05/0.4801, allocations: 7.984 kB / 1.35 GB, free: 11.71 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.172e-05/0.4801, allocations: 4.031 kB / 1.35 GB, free: 11.7 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.4801, allocations: 8 kB / 1.35 GB, free: 11.7 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.57e-05/0.4802, allocations: 83.27 kB / 1.35 GB, free: 11.61 MB / 1.045 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4802, allocations: 0 / 1.35 GB, free: 11.61 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000277/0.4804, allocations: 27.94 kB / 1.35 GB, free: 11.59 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.0007365/0.4812, allocations: 0.7318 MB / 1.351 GB, free: 10.82 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002278/0.4814, allocations: 39.98 kB / 1.351 GB, free: 10.79 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4814, allocations: 0 / 1.351 GB, free: 10.79 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.681e-05/0.4815, allocations: 19.98 kB / 1.351 GB, free: 10.77 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/0.4817, allocations: 1.875 kB / 1.351 GB, free: 10.77 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000491/0.4822, allocations: 147.1 kB / 1.351 GB, free: 10.58 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.4825, allocations: 0.6806 MB / 1.351 GB, free: 9.875 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.103e-05/0.4826, allocations: 8.125 kB / 1.351 GB, free: 9.867 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.535e-05/0.4826, allocations: 7.438 kB / 1.351 GB, free: 9.859 MB / 1.045 GB Notification: Performance of SimCode: time 2.81e-07/0.4826, allocations: 0 / 1.351 GB, free: 9.859 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02322/0.5058, allocations: 1.881 MB / 1.353 GB, free: 8.117 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.63, allocations: 13.66 kB / 1.353 GB, free: 8.105 MB / 1.045 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --stepSize=0.01196 --timeout=800 --tolerance=1e-06 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.mat","/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: 18.92041922803037]