Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BesselY0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007777/0.007778, allocations: 95.61 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001573/0.001574, allocations: 197.7 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.716/2.716, allocations: 437 MB / 0.7105 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 67.89 kB / 1.019 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3594, allocations: 151.6 MB / 1.167 GB, free: 6.766 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002771/0.3622, allocations: 1.433 MB / 1.168 GB, free: 5.316 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0007976/0.363, allocations: 343.7 kB / 1.168 GB, free: 4.977 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.913e-05/0.363, allocations: 0 / 1.168 GB, free: 4.977 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.774e-05/0.3631, allocations: 0 / 1.168 GB, free: 4.977 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.327e-05/0.3631, allocations: 7.938 kB / 1.168 GB, free: 4.969 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004783/0.3636, allocations: 99.72 kB / 1.168 GB, free: 4.871 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.826e-05/0.3637, allocations: 31.86 kB / 1.168 GB, free: 4.84 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.944e-05/0.3638, allocations: 11.98 kB / 1.168 GB, free: 4.828 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.114e-05/0.3638, allocations: 4 kB / 1.168 GB, free: 4.824 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.499e-05/0.3639, allocations: 11.92 kB / 1.169 GB, free: 4.812 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.3639, allocations: 4 kB / 1.169 GB, free: 4.809 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003071/0.3642, allocations: 119.8 kB / 1.169 GB, free: 4.691 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.065e-05/0.3643, allocations: 4 kB / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.756e-05/0.3643, allocations: 11.92 kB / 1.169 GB, free: 4.676 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002128/0.3645, allocations: 91.67 kB / 1.169 GB, free: 4.586 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3645, allocations: 0 / 1.169 GB, free: 4.586 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3645, allocations: 4 kB / 1.169 GB, free: 4.582 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.3645, allocations: 0 / 1.169 GB, free: 4.582 MB / 0.92 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.0005156/0.3651, allocations: 355.3 kB / 1.169 GB, free: 4.184 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.3651, allocations: 12.03 kB / 1.169 GB, free: 4.172 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.048e-05/0.3651, allocations: 0.9375 kB / 1.169 GB, free: 4.172 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.3653, allocations: 164.3 kB / 1.169 GB, free: 3.973 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.3653, allocations: 384 / 1.169 GB, free: 3.973 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-06/0.3653, allocations: 4.375 kB / 1.169 GB, free: 3.969 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.3655, allocations: 54.23 kB / 1.169 GB, free: 3.91 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.3655, allocations: 192 / 1.169 GB, free: 3.91 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.3655, allocations: 3.938 kB / 1.169 GB, free: 3.906 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.3656, allocations: 0 / 1.169 GB, free: 3.906 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001628/0.3657, allocations: 39.89 kB / 1.169 GB, free: 3.867 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003589/0.3661, allocations: 244.9 kB / 1.17 GB, free: 3.578 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.3662, allocations: 46.53 kB / 1.17 GB, free: 3.523 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.559e-05/0.3663, allocations: 20.91 kB / 1.17 GB, free: 3.5 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007584/0.3671, allocations: 461.5 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.3671, allocations: 34.56 kB / 1.17 GB, free: 2.914 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 2.645e-06/0.3671, allocations: 0 / 1.17 GB, free: 2.914 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.000511/0.3676, allocations: 77.58 kB / 1.17 GB, free: 2.832 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.3677, allocations: 59.41 kB / 1.17 GB, free: 2.762 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.59e-05/0.3678, allocations: 97.98 kB / 1.17 GB, free: 2.656 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001251/0.3679, allocations: 25.7 kB / 1.17 GB, free: 2.625 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.589e-05/0.368, allocations: 88.08 kB / 1.17 GB, free: 2.535 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/0.368, allocations: 11.94 kB / 1.17 GB, free: 2.523 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.057e-05/0.368, allocations: 9.719 kB / 1.17 GB, free: 2.508 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002964/0.3683, allocations: 314.8 kB / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.476e-05/0.3684, allocations: 15.98 kB / 1.171 GB, free: 2.176 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.787e-05/0.3685, allocations: 19.98 kB / 1.171 GB, free: 2.156 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002416/0.3688, allocations: 44.75 kB / 1.171 GB, free: 2.109 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3688, allocations: 0 / 1.171 GB, free: 2.109 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001926/0.369, allocations: 69.55 kB / 1.171 GB, free: 2.035 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.369, allocations: 13.81 kB / 1.171 GB, free: 2.023 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.369, allocations: 96 / 1.171 GB, free: 2.023 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.369, allocations: 4 kB / 1.171 GB, free: 2.02 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.478e-05/0.3691, allocations: 4 kB / 1.171 GB, free: 2.016 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.3691, allocations: 7.984 kB / 1.171 GB, free: 2.008 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.126e-05/0.3692, allocations: 0 / 1.171 GB, free: 2.008 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.3692, allocations: 4 kB / 1.171 GB, free: 2.004 MB / 0.92 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 0.0002305/0.3694, allocations: 109.8 kB / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.871e-05/0.3695, allocations: 4 kB / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002314/0.3697, allocations: 80.7 kB / 1.171 GB, free: 1.797 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.3697, allocations: 0 / 1.171 GB, free: 1.797 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3697, allocations: 0 / 1.171 GB, free: 1.797 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3697, allocations: 192 / 1.171 GB, free: 1.797 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/0.37, allocations: 161.6 kB / 1.171 GB, free: 1.59 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.37, allocations: 0 / 1.171 GB, free: 1.59 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.876e-05/0.37, allocations: 11.98 kB / 1.171 GB, free: 1.578 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.37, allocations: 3.984 kB / 1.171 GB, free: 1.574 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.37, allocations: 0 / 1.171 GB, free: 1.574 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3701, allocations: 4.031 kB / 1.171 GB, free: 1.57 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3701, allocations: 0 / 1.171 GB, free: 1.57 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002492/0.3703, allocations: 167.4 kB / 1.171 GB, free: 1.391 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.914e-05/0.3704, allocations: 81.06 kB / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.3704, allocations: 4 kB / 1.172 GB, free: 1.289 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.851e-05/0.3705, allocations: 15.95 kB / 1.172 GB, free: 1.273 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.673e-05/0.3705, allocations: 0 / 1.172 GB, free: 1.273 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-06/0.3705, allocations: 0 / 1.172 GB, free: 1.273 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.685e-05/0.3706, allocations: 87.27 kB / 1.172 GB, free: 1.188 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3706, allocations: 0 / 1.172 GB, free: 1.188 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002801/0.3709, allocations: 27.94 kB / 1.172 GB, free: 1.16 MB / 0.92 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.0002684/0.3711, allocations: 139.1 kB / 1.172 GB, free: 1.012 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002243/0.3714, allocations: 39.95 kB / 1.172 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3714, allocations: 0 / 1.172 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.3715, allocations: 27.98 kB / 1.172 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.3717, allocations: 3.938 kB / 1.172 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002745/0.372, allocations: 113.4 kB / 1.172 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003628/0.3724, allocations: 0.6768 MB / 1.173 GB, free: 104 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.029e-05/0.3724, allocations: 0 / 1.173 GB, free: 104 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.881e-05/0.3724, allocations: 7.438 kB / 1.173 GB, free: 96 kB / 0.92 GB Notification: Performance of SimCode: time 2.8e-07/0.3725, allocations: 4 kB / 1.173 GB, free: 92 kB / 0.92 GB Notification: Performance of Templates: time 0.003433/0.3759, allocations: 0.8826 MB / 1.173 GB, free: 15.21 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches