Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.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.00167/0.00167, allocations: 111.5 kB / 17.13 MB, free: 6.008 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.001431/0.001431, allocations: 213.8 kB / 20.1 MB, free: 3.055 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.564/1.564, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.005/3.005, allocations: 0.49 GB / 0.7923 GB, free: 1.332 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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: translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y0",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y0",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0") [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.002088/0.002088, allocations: 71.89 kB / 1.15 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.198/1.2, allocations: 176.1 MB / 1.322 GB, free: 25.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001639/1.202, allocations: 0.5912 MB / 1.323 GB, free: 24.7 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0005397/1.202, allocations: 293.3 kB / 1.323 GB, free: 24.5 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.358e-05/1.202, allocations: 0 / 1.323 GB, free: 24.5 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.753e-05/1.202, allocations: 4 kB / 1.323 GB, free: 24.5 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.422e-06/1.202, allocations: 0 / 1.323 GB, free: 24.5 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004293/1.203, allocations: 90.41 kB / 1.323 GB, free: 24.47 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 4.334e-05/1.203, allocations: 7.984 kB / 1.323 GB, free: 24.46 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.519e-05/1.203, allocations: 6.016 kB / 1.323 GB, free: 24.46 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.181e-05/1.203, allocations: 0 / 1.323 GB, free: 24.46 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 2.064e-05/1.203, allocations: 0 / 1.323 GB, free: 24.46 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.763e-06/1.203, allocations: 2.531 kB / 1.323 GB, free: 24.46 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002217/1.203, allocations: 122 kB / 1.323 GB, free: 24.43 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.214e-06/1.203, allocations: 0 / 1.323 GB, free: 24.43 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.418e-05/1.203, allocations: 0 / 1.323 GB, free: 24.43 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001427/1.203, allocations: 68.16 kB / 1.323 GB, free: 24.41 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/1.203, allocations: 7.875 kB / 1.323 GB, free: 24.4 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.165e-06/1.203, allocations: 2.531 kB / 1.323 GB, free: 24.4 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.22e-06/1.203, allocations: 2.938 kB / 1.323 GB, free: 24.4 MB / 1.061 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.000258/1.204, allocations: 327.2 kB / 1.323 GB, free: 24.04 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/1.204, allocations: 15.77 kB / 1.323 GB, free: 24.04 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.995e-05/1.204, allocations: 0.9375 kB / 1.323 GB, free: 24.04 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.975e-05/1.204, allocations: 160.4 kB / 1.324 GB, free: 23.84 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/1.204, allocations: 384 / 1.324 GB, free: 23.84 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.993e-06/1.204, allocations: 4.375 kB / 1.324 GB, free: 23.84 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.34e-05/1.204, allocations: 32.86 kB / 1.324 GB, free: 23.8 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/1.204, allocations: 192 / 1.324 GB, free: 23.8 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/1.204, allocations: 3.938 kB / 1.324 GB, free: 23.8 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/1.204, allocations: 0 / 1.324 GB, free: 23.8 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.894e-05/1.204, allocations: 2.844 kB / 1.324 GB, free: 23.8 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001062/1.204, allocations: 153.7 kB / 1.324 GB, free: 23.6 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 3.665e-05/1.204, allocations: 21.55 kB / 1.324 GB, free: 23.57 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.36e-05/1.204, allocations: 8.859 kB / 1.324 GB, free: 23.56 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006076/1.205, allocations: 458.5 kB / 1.324 GB, free: 23.09 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/1.205, allocations: 30.56 kB / 1.324 GB, free: 23.05 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/1.205, allocations: 4 kB / 1.324 GB, free: 23.05 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001272/1.205, allocations: 46.2 kB / 1.324 GB, free: 23 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.992e-05/1.205, allocations: 51.41 kB / 1.324 GB, free: 22.94 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.879e-05/1.205, allocations: 89.86 kB / 1.324 GB, free: 22.84 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.993e-06/1.205, allocations: 25.7 kB / 1.325 GB, free: 22.81 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.356e-05/1.205, allocations: 83.08 kB / 1.325 GB, free: 22.73 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/1.205, allocations: 7.953 kB / 1.325 GB, free: 22.72 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.115e-05/1.205, allocations: 9.719 kB / 1.325 GB, free: 22.71 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.627e-05/1.205, allocations: 317.8 kB / 1.325 GB, free: 22.39 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.081e-05/1.205, allocations: 3.281 kB / 1.325 GB, free: 22.39 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.47e-06/1.205, allocations: 0 / 1.325 GB, free: 22.39 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.323e-05/1.205, allocations: 7.359 kB / 1.325 GB, free: 22.38 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/1.205, allocations: 2.75 kB / 1.325 GB, free: 22.38 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.123e-05/1.205, allocations: 36.14 kB / 1.325 GB, free: 22.34 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/1.205, allocations: 7.719 kB / 1.325 GB, free: 22.34 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/1.205, allocations: 3.938 kB / 1.325 GB, free: 22.34 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/1.205, allocations: 8.031 kB / 1.325 GB, free: 22.33 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.058e-05/1.205, allocations: 6.406 kB / 1.325 GB, free: 22.33 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/1.205, allocations: 0 / 1.325 GB, free: 22.33 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.558e-06/1.205, allocations: 0 / 1.325 GB, free: 22.33 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/1.205, allocations: 0 / 1.325 GB, free: 22.33 MB / 1.061 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 4.288e-05/1.205, allocations: 108.5 kB / 1.325 GB, free: 22.22 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.831e-06/1.205, allocations: 0 / 1.325 GB, free: 22.22 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.232e-05/1.205, allocations: 39.05 kB / 1.325 GB, free: 22.18 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/1.205, allocations: 32 / 1.325 GB, free: 22.18 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/1.205, allocations: 6.656 kB / 1.325 GB, free: 22.18 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/1.205, allocations: 0 / 1.325 GB, free: 22.18 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.42e-05/1.205, allocations: 149.6 kB / 1.325 GB, free: 21.98 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/1.205, allocations: 0 / 1.325 GB, free: 21.98 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.116e-05/1.205, allocations: 2.812 kB / 1.325 GB, free: 21.98 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/1.205, allocations: 0 / 1.325 GB, free: 21.98 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/1.205, allocations: 7.266 kB / 1.325 GB, free: 21.98 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/1.205, allocations: 0 / 1.325 GB, free: 21.98 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/1.205, allocations: 2.875 kB / 1.325 GB, free: 21.98 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.812e-05/1.205, allocations: 58.86 kB / 1.325 GB, free: 21.91 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.797e-05/1.205, allocations: 84.33 kB / 1.325 GB, free: 21.81 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.007e-06/1.205, allocations: 3.938 kB / 1.325 GB, free: 21.8 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.203e-06/1.205, allocations: 4 kB / 1.325 GB, free: 21.8 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.12e-05/1.205, allocations: 0 / 1.325 GB, free: 21.8 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/1.205, allocations: 2.906 kB / 1.325 GB, free: 21.8 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.23e-05/1.205, allocations: 75.28 kB / 1.326 GB, free: 21.73 MB / 1.061 GB Notification: Performance of sort global known variables: time 4e-08/1.205, allocations: 0 / 1.326 GB, free: 21.73 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002098/1.206, allocations: 27.84 kB / 1.326 GB, free: 21.72 MB / 1.061 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.0002444/1.206, allocations: 145.3 kB / 1.326 GB, free: 21.61 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 6.96e-05/1.206, allocations: 6.656 kB / 1.326 GB, free: 21.61 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/1.206, allocations: 2.656 kB / 1.326 GB, free: 21.61 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.029e-06/1.206, allocations: 0 / 1.326 GB, free: 21.61 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001303/1.206, allocations: 6.812 kB / 1.326 GB, free: 21.61 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001721/1.206, allocations: 107.4 kB / 1.326 GB, free: 21.48 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001009/1.206, allocations: 0.6792 MB / 1.326 GB, free: 20.78 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.093e-05/1.206, allocations: 7.438 kB / 1.326 GB, free: 20.77 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/1.206, allocations: 0 / 1.326 GB, free: 20.77 MB / 1.061 GB Notification: Performance of Templates: time 0.002101/1.209, allocations: 0.7624 MB / 1.327 GB, free: 20.73 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.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: 12.450646530007361]