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.001378/0.001378, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001669/0.001669, allocations: 219.3 kB / 23.03 MB, free: 4.922 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.518/1.518, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.361/3.361, allocations: 0.5003 GB / 0.8062 GB, free: 28.27 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselY1",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.002076/0.002076, allocations: 70.09 kB / 1.17 GB, free: 19.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4615/0.4636, allocations: 179 MB / 1.345 GB, free: 15.92 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.003474/0.4671, allocations: 1.459 MB / 1.347 GB, free: 14.45 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0008503/0.4679, allocations: 327 kB / 1.347 GB, free: 14.12 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.297e-05/0.468, allocations: 4 kB / 1.347 GB, free: 14.12 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.367e-05/0.468, allocations: 0 / 1.347 GB, free: 14.12 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.658e-05/0.4681, allocations: 7.938 kB / 1.347 GB, free: 14.11 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006047/0.4687, allocations: 107.7 kB / 1.347 GB, free: 14.01 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.776e-05/0.4687, allocations: 19.92 kB / 1.347 GB, free: 13.99 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.4688, allocations: 8 kB / 1.347 GB, free: 13.98 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.212e-05/0.4689, allocations: 11.92 kB / 1.347 GB, free: 13.97 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.224e-05/0.4689, allocations: 11.98 kB / 1.347 GB, free: 13.96 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.469, allocations: 0 / 1.347 GB, free: 13.96 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002867/0.4692, allocations: 131.8 kB / 1.347 GB, free: 13.83 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.044e-05/0.4693, allocations: 7.938 kB / 1.347 GB, free: 13.82 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.054e-05/0.4693, allocations: 11.97 kB / 1.347 GB, free: 13.81 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002588/0.4695, allocations: 91.97 kB / 1.347 GB, free: 13.72 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.4696, allocations: 0 / 1.347 GB, free: 13.72 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.415e-06/0.4696, allocations: 0 / 1.347 GB, free: 13.72 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.4696, allocations: 0 / 1.347 GB, free: 13.72 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.0005706/0.4701, allocations: 274.2 kB / 1.348 GB, free: 13.42 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.4702, allocations: 8.031 kB / 1.348 GB, free: 13.41 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.153e-05/0.4702, allocations: 4.188 kB / 1.348 GB, free: 13.41 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.084e-05/0.4702, allocations: 34.73 kB / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.002e-05/0.4703, allocations: 4.938 kB / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.4704, allocations: 118.4 kB / 1.348 GB, free: 13.22 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.4704, allocations: 4.375 kB / 1.348 GB, free: 13.21 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.686e-05/0.4704, allocations: 4.359 kB / 1.348 GB, free: 13.21 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.4706, allocations: 53.98 kB / 1.348 GB, free: 13.15 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.607e-06/0.4707, allocations: 0 / 1.348 GB, free: 13.15 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.4707, allocations: 0 / 1.348 GB, free: 13.15 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.4707, allocations: 0 / 1.348 GB, free: 13.15 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001732/0.4708, allocations: 39.91 kB / 1.348 GB, free: 13.11 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003928/0.4712, allocations: 219.9 kB / 1.348 GB, free: 12.86 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.4714, allocations: 42.48 kB / 1.348 GB, free: 12.8 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.028e-05/0.4715, allocations: 20.91 kB / 1.348 GB, free: 12.78 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007347/0.4722, allocations: 87.91 kB / 1.348 GB, free: 12.7 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.4722, allocations: 30.56 kB / 1.348 GB, free: 12.66 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.4722, allocations: 0 / 1.348 GB, free: 12.66 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0003899/0.4726, allocations: 85.58 kB / 1.348 GB, free: 12.57 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.4727, allocations: 55.53 kB / 1.348 GB, free: 12.5 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.651e-05/0.4728, allocations: 101.9 kB / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.4728, allocations: 29.69 kB / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.834e-05/0.4729, allocations: 80.14 kB / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.4729, allocations: 3.953 kB / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.373e-05/0.4729, allocations: 17.72 kB / 1.349 GB, free: 12.25 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.4731, allocations: 310.8 kB / 1.349 GB, free: 11.93 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.46e-05/0.4731, allocations: 19.98 kB / 1.349 GB, free: 11.91 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.635e-05/0.4732, allocations: 19.97 kB / 1.349 GB, free: 11.89 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.4734, allocations: 44.83 kB / 1.349 GB, free: 11.85 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4734, allocations: 0 / 1.349 GB, free: 11.85 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001986/0.4736, allocations: 69.55 kB / 1.349 GB, free: 11.77 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.4736, allocations: 8 kB / 1.349 GB, free: 11.77 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.4736, allocations: 0 / 1.349 GB, free: 11.77 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.4736, allocations: 0 / 1.349 GB, free: 11.77 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.78e-05/0.4737, allocations: 16.02 kB / 1.349 GB, free: 11.75 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.4737, allocations: 0 / 1.349 GB, free: 11.75 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.284e-05/0.4738, allocations: 8 kB / 1.349 GB, free: 11.74 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.4738, allocations: 0 / 1.349 GB, free: 11.74 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.06e-05/0.4739, allocations: 113.8 kB / 1.349 GB, free: 11.62 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/0.4739, allocations: 4 kB / 1.349 GB, free: 11.62 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002416/0.4741, allocations: 72.91 kB / 1.349 GB, free: 11.54 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.4741, allocations: 4.031 kB / 1.349 GB, free: 11.54 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4741, allocations: 0 / 1.349 GB, free: 11.54 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.4741, allocations: 0 / 1.349 GB, free: 11.54 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/0.4743, allocations: 132.7 kB / 1.349 GB, free: 11.36 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4743, allocations: 0 / 1.349 GB, free: 11.36 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.064e-05/0.4744, allocations: 7.984 kB / 1.349 GB, free: 11.36 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.4744, allocations: 0 / 1.349 GB, free: 11.36 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.4744, allocations: 0 / 1.349 GB, free: 11.36 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.4744, allocations: 7.938 kB / 1.349 GB, free: 11.35 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4744, allocations: 0 / 1.349 GB, free: 11.35 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.4746, allocations: 163.5 kB / 1.35 GB, free: 11.17 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.407e-06/0.4747, allocations: 3.953 kB / 1.35 GB, free: 11.17 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.4747, allocations: 7.938 kB / 1.35 GB, free: 11.16 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.553e-05/0.4747, allocations: 7.984 kB / 1.35 GB, free: 11.15 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.744e-05/0.4748, allocations: 4.188 kB / 1.35 GB, free: 11.15 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.4748, allocations: 0 / 1.35 GB, free: 11.15 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.994e-05/0.4748, allocations: 87.2 kB / 1.35 GB, free: 11.06 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4748, allocations: 0 / 1.35 GB, free: 11.06 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002762/0.4751, allocations: 35.86 kB / 1.35 GB, free: 11.03 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.0007241/0.4758, allocations: 0.7319 MB / 1.35 GB, free: 10.27 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002143/0.4761, allocations: 36 kB / 1.351 GB, free: 10.23 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4761, allocations: 0 / 1.351 GB, free: 10.23 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.898e-05/0.4761, allocations: 23.91 kB / 1.351 GB, free: 10.21 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.4764, allocations: 4 kB / 1.351 GB, free: 10.2 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004708/0.4769, allocations: 147.1 kB / 1.351 GB, free: 10.02 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.93e-05/0.477, allocations: 71.47 kB / 1.351 GB, free: 9.93 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.152e-05/0.477, allocations: 0 / 1.351 GB, free: 9.93 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.809e-05/0.477, allocations: 7.438 kB / 1.351 GB, free: 9.922 MB / 1.045 GB Notification: Performance of SimCode: time 2.91e-07/0.477, allocations: 0 / 1.351 GB, free: 9.922 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0296/0.5066, allocations: 1.961 MB / 1.353 GB, free: 8.105 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.94, allocations: 7.984 kB / 1.353 GB, free: 8.098 MB / 1.045 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --stepSize=0.01196 --timeout=800 --tolerance=1e-06 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.mat","/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: 19.169901813962497]