Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Functions.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006828/0.006828, allocations: 105 kB / 15.74 MB, free: 6.492 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.002049/0.002049, allocations: 190.1 kB / 16.67 MB, free: 6.379 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.711/2.711, allocations: 461.9 MB / 0.7347 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 72.08 kB / 1.054 GB, free: 7.043 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3222, allocations: 157.4 MB / 1.208 GB, free: 9.535 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY1): time 0.00183/0.3241, allocations: 0.5681 MB / 1.208 GB, free: 8.965 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0006831/0.3248, allocations: 306.9 kB / 1.209 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.876e-05/0.3248, allocations: 0 / 1.209 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.526e-05/0.3248, allocations: 3.938 kB / 1.209 GB, free: 8.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.073e-06/0.3249, allocations: 0 / 1.209 GB, free: 8.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004984/0.3254, allocations: 103.7 kB / 1.209 GB, free: 8.559 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 3.638e-05/0.3254, allocations: 0 / 1.209 GB, free: 8.559 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.63e-05/0.3254, allocations: 0 / 1.209 GB, free: 8.559 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.473e-05/0.3255, allocations: 0 / 1.209 GB, free: 8.559 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 1.838e-05/0.3255, allocations: 4 kB / 1.209 GB, free: 8.555 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.117e-06/0.3255, allocations: 4 kB / 1.209 GB, free: 8.551 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002682/0.3258, allocations: 135.7 kB / 1.209 GB, free: 8.418 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.526e-06/0.3258, allocations: 0 / 1.209 GB, free: 8.418 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.609e-05/0.3258, allocations: 0 / 1.209 GB, free: 8.418 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001586/0.326, allocations: 67.88 kB / 1.209 GB, free: 8.352 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.326, allocations: 0 / 1.209 GB, free: 8.352 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.773e-06/0.326, allocations: 0 / 1.209 GB, free: 8.352 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.326, allocations: 0 / 1.209 GB, free: 8.352 MB / 0.9669 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.0003308/0.3263, allocations: 335.5 kB / 1.209 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.3264, allocations: 16.62 kB / 1.209 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.781e-05/0.3264, allocations: 0.9375 kB / 1.209 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.72e-05/0.3265, allocations: 164.4 kB / 1.209 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.3265, allocations: 4.312 kB / 1.209 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.053e-06/0.3266, allocations: 4.312 kB / 1.209 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.379e-05/0.3266, allocations: 30.27 kB / 1.209 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.3267, allocations: 192 / 1.209 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.3267, allocations: 3.938 kB / 1.209 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.3267, allocations: 0 / 1.209 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.579e-05/0.3267, allocations: 4 kB / 1.209 GB, free: 7.707 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001395/0.3268, allocations: 149.7 kB / 1.21 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 3.931e-05/0.3269, allocations: 14.58 kB / 1.21 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.909e-05/0.3269, allocations: 12.78 kB / 1.21 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007939/0.3277, allocations: 473.5 kB / 1.21 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.3277, allocations: 30.56 kB / 1.21 GB, free: 6.879 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.3278, allocations: 0 / 1.21 GB, free: 6.879 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001257/0.3279, allocations: 33.64 kB / 1.21 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.3279, allocations: 51.41 kB / 1.21 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.644e-05/0.328, allocations: 102 kB / 1.21 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.328, allocations: 29.7 kB / 1.21 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 2.619e-05/0.328, allocations: 80.14 kB / 1.21 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.3281, allocations: 3.906 kB / 1.21 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.396e-05/0.3281, allocations: 9.719 kB / 1.21 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.3282, allocations: 314.8 kB / 1.211 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.119e-05/0.3282, allocations: 3.938 kB / 1.211 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.969e-06/0.3283, allocations: 0 / 1.211 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.477e-05/0.3283, allocations: 12.92 kB / 1.211 GB, free: 6.195 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3283, allocations: 0 / 1.211 GB, free: 6.195 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.171e-05/0.3284, allocations: 37.69 kB / 1.211 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.3284, allocations: 5.406 kB / 1.211 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.3284, allocations: 0 / 1.211 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.3284, allocations: 7.938 kB / 1.211 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.729e-05/0.3284, allocations: 0 / 1.211 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.3285, allocations: 3.984 kB / 1.211 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.258e-05/0.3285, allocations: 3.984 kB / 1.211 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.3285, allocations: 7.969 kB / 1.211 GB, free: 6.125 MB / 0.9669 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 7.642e-05/0.3286, allocations: 113.8 kB / 1.211 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.58e-06/0.3286, allocations: 0 / 1.211 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.486e-05/0.3287, allocations: 44.75 kB / 1.211 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.3287, allocations: 0 / 1.211 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3287, allocations: 0 / 1.211 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3287, allocations: 0 / 1.211 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001087/0.3288, allocations: 145.7 kB / 1.211 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.3288, allocations: 4 kB / 1.211 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.178e-05/0.3288, allocations: 8.016 kB / 1.211 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.3288, allocations: 3.938 kB / 1.211 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.3288, allocations: 3.938 kB / 1.211 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.3288, allocations: 0 / 1.211 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.3288, allocations: 0 / 1.211 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.268e-05/0.3289, allocations: 61.08 kB / 1.211 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.125e-05/0.329, allocations: 77.11 kB / 1.211 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.329, allocations: 11.95 kB / 1.211 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.683e-06/0.329, allocations: 0 / 1.211 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.205e-05/0.329, allocations: 4 kB / 1.211 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-06/0.329, allocations: 0 / 1.211 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.022e-05/0.329, allocations: 75.28 kB / 1.211 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3291, allocations: 0 / 1.211 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002268/0.3293, allocations: 24 kB / 1.211 GB, free: 5.461 MB / 0.9669 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.0002742/0.3296, allocations: 139.2 kB / 1.211 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.317e-05/0.3296, allocations: 7.984 kB / 1.211 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/0.3297, allocations: 0 / 1.211 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.38e-06/0.3297, allocations: 3.938 kB / 1.211 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000129/0.3298, allocations: 16.06 kB / 1.212 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001828/0.33, allocations: 82.34 kB / 1.212 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.3302, allocations: 0.669 MB / 1.212 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.257e-05/0.3303, allocations: 4 kB / 1.212 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.221e-05/0.3303, allocations: 7.438 kB / 1.212 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of SimCode: time 2.11e-07/0.3303, allocations: 0 / 1.212 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of Templates: time 0.00266/0.3329, allocations: 0.6451 MB / 1.213 GB, free: 3.832 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselY1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches