Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001753/0.001753, allocations: 77.78 kB / 19.18 MB, free: 2.531 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.002696/0.002696, allocations: 167.8 kB / 22.46 MB, free: 5.355 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.468/1.468, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.847/2.847, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y0.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y0.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselY0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.774e-05/2.924e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002697/0.002727, allocations: 1.456 MB / 0.9828 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0007526/0.003479, allocations: 326.7 kB / 0.9832 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.049e-05/0.00351, allocations: 0 / 0.9832 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.962e-05/0.003539, allocations: 0 / 0.9832 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.761e-05/0.003587, allocations: 7.938 kB / 0.9832 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004993/0.004086, allocations: 106.8 kB / 0.9833 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.869e-05/0.004155, allocations: 15.94 kB / 0.9833 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.82e-05/0.004243, allocations: 15.98 kB / 0.9833 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.036e-05/0.004294, allocations: 8 kB / 0.9833 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.188e-05/0.004335, allocations: 7.984 kB / 0.9833 GB, free: 10 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.00435, allocations: 4 kB / 0.9833 GB, free: 10 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002456/0.004596, allocations: 119.7 kB / 0.9834 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.056e-05/0.004617, allocations: 15.92 kB / 0.9834 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.472e-05/0.004641, allocations: 0 / 0.9834 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000246/0.004887, allocations: 111.7 kB / 0.9836 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.004889, allocations: 0 / 0.9836 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of FrontEnd: time 5.72e-07/0.00489, allocations: 0 / 0.9836 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.399e-06/0.004894, allocations: 0 / 0.9836 GB, free: 9.758 MB / 0.9356 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.0004745/0.005369, allocations: 278.2 kB / 0.9838 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.005408, allocations: 12.03 kB / 0.9838 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.644e-05/0.005444, allocations: 8.891 kB / 0.9838 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.005546, allocations: 101.8 kB / 0.9839 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.005563, allocations: 8.375 kB / 0.9839 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.576e-06/0.005571, allocations: 384 / 0.9839 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001918/0.005763, allocations: 54.17 kB / 0.984 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.005774, allocations: 4.172 kB / 0.984 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.005782, allocations: 384 / 0.984 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.005786, allocations: 384 / 0.984 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001912/0.005978, allocations: 43.89 kB / 0.984 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000335/0.006313, allocations: 188.6 kB / 0.9842 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.006457, allocations: 38.59 kB / 0.9843 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.924e-05/0.006556, allocations: 24.84 kB / 0.9843 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005473/0.007103, allocations: 71.92 kB / 0.9844 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.068e-05/0.007144, allocations: 42.55 kB / 0.9844 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.332e-06/0.007145, allocations: 0 / 0.9844 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.000388/0.007533, allocations: 77.59 kB / 0.9845 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/0.007581, allocations: 55.39 kB / 0.9845 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.417e-05/0.007665, allocations: 97.86 kB / 0.9846 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.007682, allocations: 29.83 kB / 0.9846 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.288e-05/0.007735, allocations: 88.03 kB / 0.9847 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.856e-05/0.007754, allocations: 8 kB / 0.9847 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-05/0.00779, allocations: 13.7 kB / 0.9847 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.007928, allocations: 318.8 kB / 0.9851 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.268e-05/0.00802, allocations: 15.98 kB / 0.9851 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.117e-05/0.008102, allocations: 11.98 kB / 0.9851 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.008274, allocations: 44.88 kB / 0.9851 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.008276, allocations: 0 / 0.9851 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002209/0.008497, allocations: 73.56 kB / 0.9852 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.008512, allocations: 6.344 kB / 0.9852 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.008521, allocations: 7.922 kB / 0.9852 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.008535, allocations: 0 / 0.9852 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.83e-05/0.008623, allocations: 8 kB / 0.9852 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.008631, allocations: 7.969 kB / 0.9852 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.185e-05/0.008683, allocations: 7.984 kB / 0.9852 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.008688, allocations: 3.938 kB / 0.9852 GB, free: 7.867 MB / 0.9356 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 8.298e-05/0.008771, allocations: 109.8 kB / 0.9853 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.487e-05/0.008796, allocations: 0 / 0.9853 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002491/0.009045, allocations: 72.91 kB / 0.9854 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.00905, allocations: 4 kB / 0.9854 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.009056, allocations: 3.984 kB / 0.9854 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.009059, allocations: 4.031 kB / 0.9854 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.009198, allocations: 101.3 kB / 0.9855 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.009199, allocations: 0 / 0.9855 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.285e-05/0.009262, allocations: 7.984 kB / 0.9855 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.009264, allocations: 4 kB / 0.9855 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.009271, allocations: 0 / 0.9855 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.009275, allocations: 3.938 kB / 0.9855 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.009279, allocations: 4 kB / 0.9855 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002743/0.009553, allocations: 163.5 kB / 0.9857 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.817e-06/0.009562, allocations: 3.953 kB / 0.9857 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.009578, allocations: 4 kB / 0.9857 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.794e-05/0.009666, allocations: 15.92 kB / 0.9857 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.204e-05/0.009698, allocations: 0 / 0.9857 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.009701, allocations: 0 / 0.9857 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.6e-05/0.009747, allocations: 83.27 kB / 0.9858 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9.1e-08/0.009747, allocations: 0 / 0.9858 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000289/0.01004, allocations: 27.94 kB / 0.9858 GB, free: 7.207 MB / 0.9356 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.0002723/0.01031, allocations: 147.5 kB / 0.986 GB, free: 7.055 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002314/0.01054, allocations: 39.89 kB / 0.986 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01054, allocations: 4.062 kB / 0.986 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.179e-05/0.01063, allocations: 15.98 kB / 0.986 GB, free: 6.996 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000247/0.01088, allocations: 11.94 kB / 0.986 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002946/0.01117, allocations: 96.95 kB / 0.9861 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.92e-05/0.01123, allocations: 63.34 kB / 0.9862 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.055e-05/0.01125, allocations: 0 / 0.9862 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.435e-05/0.01128, allocations: 8.5 kB / 0.9862 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of SimCode: time 4.21e-07/0.01128, allocations: 64 / 0.9862 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of Templates: time 0.003896/0.01518, allocations: 0.9166 MB / 0.9871 GB, free: 5.863 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.BesselY0.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BesselY0.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.907555364072323]