Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001038/0.001038, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001504/0.002542, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001066/0.001066, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001527/0.002592, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.007/1.007, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09398/1.101, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.411/2.411, allocations: 447.1 MB / 0.675 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2608/2.672, allocations: 146 MB / 0.8176 GB, free: 3.824 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y0",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.819 GB, free: 2.445 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.365e-05/1.515e-05, allocations: 4.844 kB / 0.819 GB, free: 2.441 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001534/0.001549, allocations: 0.6502 MB / 0.8196 GB, free: 1.785 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0004647/0.002013, allocations: 271 kB / 0.8199 GB, free: 1.52 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.242e-05/0.002026, allocations: 0 / 0.8199 GB, free: 1.52 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 4.478e-06/0.00203, allocations: 0 / 0.8199 GB, free: 1.52 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 1.042e-06/0.002031, allocations: 0 / 0.8199 GB, free: 1.52 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003053/0.002337, allocations: 79.66 kB / 0.8199 GB, free: 1.441 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 4.287e-05/0.00238, allocations: 3.938 kB / 0.82 GB, free: 1.438 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.152e-05/0.002421, allocations: 7.984 kB / 0.82 GB, free: 1.43 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 3.412e-05/0.002455, allocations: 4 kB / 0.82 GB, free: 1.426 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 3.047e-05/0.002486, allocations: 0 / 0.82 GB, free: 1.426 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 8.887e-06/0.002495, allocations: 0 / 0.82 GB, free: 1.426 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002766/0.002771, allocations: 131.7 kB / 0.8201 GB, free: 1.297 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.323e-05/0.002784, allocations: 0 / 0.8201 GB, free: 1.297 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.155e-05/0.002796, allocations: 4 kB / 0.8201 GB, free: 1.293 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0003174/0.003113, allocations: 71.8 kB / 0.8202 GB, free: 1.223 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.217e-05/0.003126, allocations: 0 / 0.8202 GB, free: 1.223 MB / 0.7917 GB Notification: Performance of FrontEnd: time 5.81e-07/0.003126, allocations: 0 / 0.8202 GB, free: 1.223 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.502e-05/0.003141, allocations: 0 / 0.8202 GB, free: 1.223 MB / 0.7917 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.0003059/0.003447, allocations: 240.5 kB / 0.8204 GB, free: 0.9609 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.003484, allocations: 12.03 kB / 0.8204 GB, free: 0.9492 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.936e-05/0.003514, allocations: 0.9375 kB / 0.8204 GB, free: 0.9492 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.811e-05/0.003582, allocations: 109.8 kB / 0.8205 GB, free: 0.8164 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.003591, allocations: 384 / 0.8205 GB, free: 0.8164 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.003601, allocations: 384 / 0.8205 GB, free: 0.8164 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.899e-05/0.00368, allocations: 34.27 kB / 0.8205 GB, free: 0.7773 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.003688, allocations: 192 / 0.8205 GB, free: 0.7773 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.242e-06/0.003694, allocations: 384 / 0.8205 GB, free: 0.7773 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.003699, allocations: 384 / 0.8205 GB, free: 0.7773 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.107e-05/0.00371, allocations: 7.875 kB / 0.8205 GB, free: 0.7695 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.478e-05/0.003785, allocations: 61.05 kB / 0.8206 GB, free: 0.6953 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 3.332e-05/0.003819, allocations: 18.52 kB / 0.8206 GB, free: 0.668 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.396e-05/0.003833, allocations: 8.953 kB / 0.8206 GB, free: 0.6562 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004026/0.004235, allocations: 79.83 kB / 0.8207 GB, free: 0.5781 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.004258, allocations: 30.56 kB / 0.8207 GB, free: 0.5391 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.004259, allocations: 4 kB / 0.8207 GB, free: 0.5352 MB / 0.7917 GB Notification: Performance of matching and sorting (n=1): time 9.131e-05/0.004351, allocations: 37.62 kB / 0.8208 GB, free: 0.4922 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.004377, allocations: 51.41 kB / 0.8208 GB, free: 440 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.87e-05/0.004406, allocations: 89.86 kB / 0.8209 GB, free: 340 kB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.004418, allocations: 29.7 kB / 0.8209 GB, free: 304 kB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 2.22e-05/0.00444, allocations: 84.12 kB / 0.821 GB, free: 216 kB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.62e-05/0.004466, allocations: 0 / 0.821 GB, free: 216 kB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.56e-05/0.004492, allocations: 17.7 kB / 0.821 GB, free: 192 kB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 9.495e-05/0.004587, allocations: 318.8 kB / 0.8213 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.913e-06/0.004594, allocations: 0 / 0.8213 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.45e-06/0.004599, allocations: 4.125 kB / 0.8213 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.478e-05/0.004624, allocations: 12.8 kB / 0.8214 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.004625, allocations: 0 / 0.8214 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.578e-05/0.004671, allocations: 37.69 kB / 0.8214 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.004684, allocations: 4 kB / 0.8214 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.004689, allocations: 0 / 0.8214 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.004701, allocations: 0 / 0.8214 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.508e-05/0.004736, allocations: 4 kB / 0.8214 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.494e-06/0.004739, allocations: 0 / 0.8214 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.368e-06/0.004748, allocations: 0 / 0.8214 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.004754, allocations: 8.094 kB / 0.8214 GB, free: 15.79 MB / 0.8073 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 5.384e-05/0.004808, allocations: 113.8 kB / 0.8215 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.649e-06/0.004812, allocations: 0 / 0.8215 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.806e-05/0.00487, allocations: 40.62 kB / 0.8216 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.004872, allocations: 0 / 0.8216 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.004873, allocations: 0 / 0.8216 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.004875, allocations: 0 / 0.8216 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.636e-05/0.004932, allocations: 65.84 kB / 0.8216 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.004933, allocations: 0 / 0.8216 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.887e-06/0.004941, allocations: 0 / 0.8216 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.971e-06/0.004947, allocations: 8.016 kB / 0.8216 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.004949, allocations: 0 / 0.8216 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.316e-06/0.004952, allocations: 7.938 kB / 0.8216 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.004954, allocations: 3.984 kB / 0.8216 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.004955, allocations: 0 / 0.8216 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.972e-05/0.005005, allocations: 61.02 kB / 0.8217 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.405e-06/0.005013, allocations: 4 kB / 0.8217 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.831e-06/0.005019, allocations: 0 / 0.8217 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.055e-05/0.00503, allocations: 3.984 kB / 0.8217 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-06/0.005032, allocations: 0 / 0.8217 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 7.905e-06/0.00504, allocations: 8.891 kB / 0.8217 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.00504, allocations: 0 / 0.8217 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001766/0.005216, allocations: 27.88 kB / 0.8217 GB, free: 15.4 MB / 0.8073 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.0002123/0.005429, allocations: 128.3 kB / 0.8219 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.579e-05/0.005484, allocations: 8.859 kB / 0.8219 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.005488, allocations: 0 / 0.8219 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.052e-05/0.005499, allocations: 8.859 kB / 0.8219 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.52e-05/0.005554, allocations: 9.328 kB / 0.8219 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001493/0.005703, allocations: 86.16 kB / 0.822 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.993e-05/0.005733, allocations: 55.36 kB / 0.822 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 9.467e-06/0.005743, allocations: 0 / 0.822 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.84e-05/0.005771, allocations: 51.36 kB / 0.8221 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of SimCode: time 4.51e-07/0.005771, allocations: 4.188 kB / 0.8221 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of Templates: time 0.002549/0.00832, allocations: 0.7436 MB / 0.8228 GB, free: 14.25 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.361625911667943]