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.001808/0.001808, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002229/0.002229, allocations: 216.9 kB / 22.99 MB, free: 4.945 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.444/1.444, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.212/3.212, allocations: 0.5107 GB / 0.8166 GB, free: 17.81 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: translateModel(Buildings.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1") [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.002067/0.002067, allocations: 69.27 kB / 1.187 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3453, allocations: 181.9 MB / 1.365 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.002705/0.348, allocations: 1.462 MB / 1.366 GB, free: 12.12 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007307/0.3487, allocations: 330.9 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.302e-05/0.3487, allocations: 0 / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.301e-05/0.3487, allocations: 4 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.198e-05/0.3488, allocations: 3.938 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004402/0.3492, allocations: 111.7 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.074e-05/0.3493, allocations: 23.92 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.001e-05/0.3494, allocations: 4 kB / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.685e-05/0.3494, allocations: 3.938 kB / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.922e-05/0.3494, allocations: 11.98 kB / 1.367 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.3495, allocations: 4 kB / 1.367 GB, free: 11.63 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002375/0.3497, allocations: 123.7 kB / 1.367 GB, free: 11.51 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.61e-05/0.3497, allocations: 11.94 kB / 1.367 GB, free: 11.5 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.918e-05/0.3497, allocations: 4 kB / 1.367 GB, free: 11.5 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000214/0.3499, allocations: 95.66 kB / 1.367 GB, free: 11.4 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.3499, allocations: 4 kB / 1.367 GB, free: 11.4 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3499, allocations: 0 / 1.367 GB, free: 11.4 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.35, allocations: 4 kB / 1.367 GB, free: 11.39 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004429/0.3504, allocations: 266.3 kB / 1.367 GB, free: 11.1 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.3504, allocations: 12.03 kB / 1.367 GB, free: 11.09 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.579e-05/0.3505, allocations: 4.891 kB / 1.367 GB, free: 11.09 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.3506, allocations: 114.4 kB / 1.367 GB, free: 10.95 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.3506, allocations: 8.359 kB / 1.367 GB, free: 10.94 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.694e-06/0.3506, allocations: 384 / 1.367 GB, free: 10.94 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.3508, allocations: 46.25 kB / 1.367 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.3508, allocations: 4.125 kB / 1.367 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.3508, allocations: 3.938 kB / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.3508, allocations: 3.984 kB / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001633/0.351, allocations: 31.97 kB / 1.367 GB, free: 10.85 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003077/0.3513, allocations: 192.6 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.3514, allocations: 42.5 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.443e-05/0.3515, allocations: 20.91 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005594/0.352, allocations: 95.78 kB / 1.368 GB, free: 10.46 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.3521, allocations: 30.56 kB / 1.368 GB, free: 10.42 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3521, allocations: 0 / 1.368 GB, free: 10.42 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0003482/0.3524, allocations: 81.64 kB / 1.368 GB, free: 10.34 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.3525, allocations: 55.34 kB / 1.368 GB, free: 10.27 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.217e-05/0.3526, allocations: 109.8 kB / 1.368 GB, free: 10.15 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.3526, allocations: 25.83 kB / 1.368 GB, free: 10.12 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.683e-05/0.3526, allocations: 88.09 kB / 1.368 GB, free: 10.03 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.678e-05/0.3526, allocations: 3.953 kB / 1.368 GB, free: 10.03 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.652e-05/0.3527, allocations: 17.72 kB / 1.368 GB, free: 10 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001873/0.3529, allocations: 314.8 kB / 1.368 GB, free: 9.688 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.622e-05/0.3529, allocations: 19.98 kB / 1.368 GB, free: 9.668 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.074e-05/0.353, allocations: 11.98 kB / 1.368 GB, free: 9.656 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.3532, allocations: 44.88 kB / 1.368 GB, free: 9.609 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.3532, allocations: 0 / 1.368 GB, free: 9.609 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001911/0.3534, allocations: 65.55 kB / 1.368 GB, free: 9.539 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.3534, allocations: 8 kB / 1.368 GB, free: 9.531 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.3534, allocations: 0 / 1.368 GB, free: 9.531 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.3534, allocations: 0 / 1.368 GB, free: 9.531 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.115e-05/0.3535, allocations: 11.98 kB / 1.368 GB, free: 9.52 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.3535, allocations: 4 kB / 1.368 GB, free: 9.516 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.3536, allocations: 12.02 kB / 1.368 GB, free: 9.504 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.3536, allocations: 0 / 1.368 GB, free: 9.504 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 (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.09e-05/0.3537, allocations: 105.8 kB / 1.369 GB, free: 9.391 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.617e-05/0.3537, allocations: 7.938 kB / 1.369 GB, free: 9.383 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000225/0.3539, allocations: 72.97 kB / 1.369 GB, free: 9.301 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.3539, allocations: 0 / 1.369 GB, free: 9.301 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.3539, allocations: 0 / 1.369 GB, free: 9.301 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.3539, allocations: 0 / 1.369 GB, free: 9.301 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001422/0.3541, allocations: 105.3 kB / 1.369 GB, free: 9.168 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.3541, allocations: 7.938 kB / 1.369 GB, free: 9.16 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.656e-05/0.3541, allocations: 11.98 kB / 1.369 GB, free: 9.148 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.3541, allocations: 3.938 kB / 1.369 GB, free: 9.145 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-06/0.3542, allocations: 0 / 1.369 GB, free: 9.145 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3542, allocations: 0 / 1.369 GB, free: 9.145 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3542, allocations: 7.938 kB / 1.369 GB, free: 9.137 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003117/0.3545, allocations: 163.4 kB / 1.369 GB, free: 8.961 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.684e-06/0.3545, allocations: 7.969 kB / 1.369 GB, free: 8.953 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.3545, allocations: 0 / 1.369 GB, free: 8.953 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.943e-05/0.3546, allocations: 11.98 kB / 1.369 GB, free: 8.941 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.3546, allocations: 0 / 1.369 GB, free: 8.941 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.3546, allocations: 4 kB / 1.369 GB, free: 8.938 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.359e-05/0.3547, allocations: 79.27 kB / 1.369 GB, free: 8.859 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3547, allocations: 4 kB / 1.369 GB, free: 8.855 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002716/0.3549, allocations: 31.88 kB / 1.369 GB, free: 8.824 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 (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.0002597/0.3552, allocations: 139.1 kB / 1.369 GB, free: 8.676 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002102/0.3554, allocations: 35.95 kB / 1.369 GB, free: 8.641 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3554, allocations: 0 / 1.369 GB, free: 8.641 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.115e-05/0.3555, allocations: 20.05 kB / 1.369 GB, free: 8.621 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.3557, allocations: 8 kB / 1.369 GB, free: 8.613 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002845/0.356, allocations: 135.2 kB / 1.369 GB, free: 8.449 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.733e-05/0.3561, allocations: 59.34 kB / 1.369 GB, free: 8.371 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.32e-05/0.3561, allocations: 7.438 kB / 1.369 GB, free: 8.363 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/0.3561, allocations: 0 / 1.369 GB, free: 8.363 MB / 1.061 GB Notification: Performance of Templates: time 0.002703/0.3588, allocations: 1.006 MB / 1.37 GB, free: 7.359 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) [Timeout 800] 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: 11.182981785852462]