Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001757/0.001757, allocations: 80.61 kB / 19.18 MB, free: 2.516 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.002318/0.002318, allocations: 160.1 kB / 22.46 MB, free: 5.375 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.428/1.428, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.669/2.669, allocations: 359 MB / 0.6037 GB, free: 14.97 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings.Utilities.Math.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y0.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.BesselY0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.383e-05/2.552e-05, allocations: 2.281 kB / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002666/0.002692, allocations: 1.456 MB / 0.9524 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0006923/0.003384, allocations: 319 kB / 0.9527 GB, free: 9.797 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.622e-05/0.00341, allocations: 0 / 0.9527 GB, free: 9.797 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.942e-05/0.00344, allocations: 3.938 kB / 0.9527 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.39e-05/0.003474, allocations: 0 / 0.9527 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004953/0.003969, allocations: 107.5 kB / 0.9528 GB, free: 9.688 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.38e-05/0.004033, allocations: 23.92 kB / 0.9528 GB, free: 9.664 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.519e-05/0.004118, allocations: 4 kB / 0.9528 GB, free: 9.66 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.022e-05/0.004168, allocations: 15.97 kB / 0.9528 GB, free: 9.645 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.438e-05/0.004202, allocations: 11.98 kB / 0.9529 GB, free: 9.633 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.004215, allocations: 4 kB / 0.9529 GB, free: 9.629 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002206/0.004436, allocations: 111.8 kB / 0.953 GB, free: 9.52 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.557e-05/0.004451, allocations: 7.984 kB / 0.953 GB, free: 9.512 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.944e-05/0.004471, allocations: 4 kB / 0.953 GB, free: 9.508 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002317/0.004702, allocations: 111.7 kB / 0.9531 GB, free: 9.398 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.004705, allocations: 0 / 0.9531 GB, free: 9.398 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.42e-07/0.004706, allocations: 0 / 0.9531 GB, free: 9.398 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.00471, allocations: 3.938 kB / 0.9531 GB, free: 9.395 MB / 0.8575 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.0004942/0.005204, allocations: 282.1 kB / 0.9534 GB, free: 9.086 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.005237, allocations: 12.03 kB / 0.9534 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.124e-05/0.005269, allocations: 0.9375 kB / 0.9534 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.00538, allocations: 109.8 kB / 0.9535 GB, free: 8.941 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.005391, allocations: 384 / 0.9535 GB, free: 8.941 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.005402, allocations: 4.375 kB / 0.9535 GB, free: 8.938 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.005591, allocations: 46.23 kB / 0.9535 GB, free: 8.887 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.005603, allocations: 4.188 kB / 0.9535 GB, free: 8.883 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.005612, allocations: 384 / 0.9535 GB, free: 8.883 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.005615, allocations: 384 / 0.9535 GB, free: 8.883 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001804/0.005796, allocations: 47.81 kB / 0.9536 GB, free: 8.836 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003048/0.0061, allocations: 188.6 kB / 0.9538 GB, free: 8.621 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.006236, allocations: 34.62 kB / 0.9538 GB, free: 8.578 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.369e-05/0.00633, allocations: 24.83 kB / 0.9538 GB, free: 8.551 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005551/0.006885, allocations: 79.92 kB / 0.9539 GB, free: 8.473 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.006915, allocations: 30.56 kB / 0.9539 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.006916, allocations: 4 kB / 0.9539 GB, free: 8.43 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003802/0.007296, allocations: 85.52 kB / 0.954 GB, free: 8.34 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.00734, allocations: 55.34 kB / 0.9541 GB, free: 8.273 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.222e-05/0.007432, allocations: 105.8 kB / 0.9542 GB, free: 8.16 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.007448, allocations: 29.83 kB / 0.9542 GB, free: 8.125 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.043e-05/0.007498, allocations: 80.14 kB / 0.9543 GB, free: 8.043 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.921e-05/0.007517, allocations: 7.953 kB / 0.9543 GB, free: 8.035 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.319e-05/0.00755, allocations: 13.72 kB / 0.9543 GB, free: 8.016 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.007688, allocations: 310.8 kB / 0.9546 GB, free: 7.703 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.142e-05/0.007779, allocations: 23.97 kB / 0.9546 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.467e-05/0.007854, allocations: 11.98 kB / 0.9546 GB, free: 7.668 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.008015, allocations: 44.83 kB / 0.9547 GB, free: 7.621 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.008017, allocations: 0 / 0.9547 GB, free: 7.621 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002057/0.008222, allocations: 69.66 kB / 0.9547 GB, free: 7.547 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.008238, allocations: 4 kB / 0.9547 GB, free: 7.543 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.008244, allocations: 3.938 kB / 0.9547 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.008258, allocations: 0 / 0.9547 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.917e-05/0.008347, allocations: 15.98 kB / 0.9547 GB, free: 7.523 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.008351, allocations: 4.031 kB / 0.9547 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.225e-05/0.008403, allocations: 15.88 kB / 0.9548 GB, free: 7.504 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.008408, allocations: 0 / 0.9548 GB, free: 7.504 MB / 0.8575 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 7.917e-05/0.008487, allocations: 105.8 kB / 0.9549 GB, free: 7.391 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/0.008516, allocations: 4 kB / 0.9549 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000238/0.008754, allocations: 76.84 kB / 0.9549 GB, free: 7.305 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.008756, allocations: 0 / 0.9549 GB, free: 7.305 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.00876, allocations: 3.938 kB / 0.9549 GB, free: 7.301 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.008762, allocations: 4.031 kB / 0.955 GB, free: 7.297 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.008898, allocations: 113.3 kB / 0.9551 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.008898, allocations: 0 / 0.9551 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.28e-05/0.008961, allocations: 7.984 kB / 0.9551 GB, free: 7.148 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.008963, allocations: 0 / 0.9551 GB, free: 7.148 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.00897, allocations: 0 / 0.9551 GB, free: 7.148 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-06/0.008976, allocations: 7.938 kB / 0.9551 GB, free: 7.141 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.008977, allocations: 0 / 0.9551 GB, free: 7.141 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002543/0.009231, allocations: 163.5 kB / 0.9552 GB, free: 6.965 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.741e-06/0.009237, allocations: 0 / 0.9552 GB, free: 6.965 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.009248, allocations: 0 / 0.9552 GB, free: 6.965 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.511e-05/0.009343, allocations: 11.92 kB / 0.9552 GB, free: 6.953 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.37e-05/0.009377, allocations: 11.94 kB / 0.9553 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.00938, allocations: 0 / 0.9553 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.45e-05/0.009425, allocations: 79.28 kB / 0.9553 GB, free: 6.863 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.009425, allocations: 0 / 0.9553 GB, free: 6.863 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002671/0.009692, allocations: 35.88 kB / 0.9554 GB, free: 6.828 MB / 0.8575 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.0002464/0.009938, allocations: 135.2 kB / 0.9555 GB, free: 6.688 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002273/0.01017, allocations: 35.97 kB / 0.9555 GB, free: 6.652 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01017, allocations: 64 / 0.9555 GB, free: 6.652 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.698e-05/0.01026, allocations: 27.91 kB / 0.9556 GB, free: 6.625 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.01049, allocations: 2.188 kB / 0.9556 GB, free: 6.625 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002765/0.01076, allocations: 113.4 kB / 0.9557 GB, free: 6.488 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.523e-05/0.01082, allocations: 55.36 kB / 0.9557 GB, free: 6.414 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.564e-05/0.01084, allocations: 7.984 kB / 0.9557 GB, free: 6.406 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.274e-05/0.01087, allocations: 8.5 kB / 0.9557 GB, free: 6.398 MB / 0.8575 GB Notification: Performance of SimCode: time 4.2e-07/0.01087, allocations: 0 / 0.9557 GB, free: 6.398 MB / 0.8575 GB Notification: Performance of Templates: time 0.00359/0.01446, allocations: 0.9295 MB / 0.9566 GB, free: 5.477 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.515234041959047]