Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BesselY1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 109.9 kB / 16.41 MB, free: 6.027 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.001226/0.001227, allocations: 186.6 kB / 17.34 MB, free: 5.633 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.449/1.449, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.28/2.28, allocations: 390.2 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 59.91 kB / 0.9515 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9774/0.9788, allocations: 140.4 MB / 1.089 GB, free: 5.422 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.002448/0.9813, allocations: 1.427 MB / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0006613/0.982, allocations: 368.5 kB / 1.09 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.77e-05/0.982, allocations: 1.125 kB / 1.09 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.648e-05/0.982, allocations: 0.6094 kB / 1.09 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.154e-05/0.9821, allocations: 7.938 kB / 1.09 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004505/0.9826, allocations: 106.9 kB / 1.09 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.652e-05/0.9826, allocations: 27.45 kB / 1.09 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.895e-05/0.9827, allocations: 4.641 kB / 1.09 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.143e-05/0.9828, allocations: 8.875 kB / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.974e-05/0.9828, allocations: 9.562 kB / 1.091 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.808e-06/0.9828, allocations: 2.156 kB / 1.091 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002719/0.9831, allocations: 133.6 kB / 1.091 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.247e-05/0.9831, allocations: 5.312 kB / 1.091 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.247e-05/0.9832, allocations: 10.81 kB / 1.091 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002054/0.9834, allocations: 91.77 kB / 1.091 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.9834, allocations: 1.125 kB / 1.091 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.753e-06/0.9834, allocations: 3.938 kB / 1.091 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.229e-06/0.9834, allocations: 0 / 1.091 GB, free: 4.023 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.0004117/0.9838, allocations: 353.5 kB / 1.091 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.9839, allocations: 9.781 kB / 1.091 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.297e-05/0.9839, allocations: 5.656 kB / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.971e-05/0.984, allocations: 163.3 kB / 1.091 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.984, allocations: 6.062 kB / 1.091 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-06/0.984, allocations: 5.375 kB / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.9842, allocations: 52.47 kB / 1.091 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.9842, allocations: 1.062 kB / 1.091 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.9842, allocations: 3.938 kB / 1.091 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.9842, allocations: 0.8438 kB / 1.091 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000166/0.9844, allocations: 33.88 kB / 1.091 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002558/0.9847, allocations: 246 kB / 1.092 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.9848, allocations: 44.39 kB / 1.092 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.33e-05/0.9849, allocations: 23.03 kB / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006385/0.9855, allocations: 470 kB / 1.092 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/0.9856, allocations: 31.36 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.9856, allocations: 0 / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003379/0.9859, allocations: 84.41 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.583e-05/0.9859, allocations: 52.47 kB / 1.092 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.222e-05/0.986, allocations: 104.9 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.706e-06/0.986, allocations: 26.5 kB / 1.092 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.766e-05/0.986, allocations: 85.33 kB / 1.092 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/0.9861, allocations: 6.047 kB / 1.092 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.707e-05/0.9861, allocations: 15.8 kB / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.305e-05/0.9862, allocations: 318 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.056e-05/0.9862, allocations: 17.23 kB / 1.093 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.942e-05/0.9863, allocations: 14.78 kB / 1.093 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.9865, allocations: 36.88 kB / 1.093 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.9865, allocations: 0.8594 kB / 1.093 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001771/0.9867, allocations: 78.39 kB / 1.093 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.9867, allocations: 5.688 kB / 1.093 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.9867, allocations: 3.938 kB / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.9867, allocations: 5.328 kB / 1.093 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.39e-05/0.9868, allocations: 8.484 kB / 1.093 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.9868, allocations: 0.9062 kB / 1.093 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.691e-05/0.9869, allocations: 6.312 kB / 1.093 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.9869, allocations: 5.031 kB / 1.093 GB, free: 1.828 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 5.041e-05/0.9869, allocations: 112.2 kB / 1.093 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/0.9869, allocations: 1.422 kB / 1.093 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002377/0.9872, allocations: 71.33 kB / 1.093 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.9872, allocations: 0.7969 kB / 1.093 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.9872, allocations: 0.8125 kB / 1.093 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.9872, allocations: 32 / 1.093 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/0.9873, allocations: 164.3 kB / 1.093 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.9874, allocations: 4 kB / 1.093 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.635e-05/0.9874, allocations: 13.22 kB / 1.093 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.9874, allocations: 0.7812 kB / 1.093 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.9874, allocations: 0 / 1.093 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.9874, allocations: 1.422 kB / 1.093 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.9874, allocations: 0.8125 kB / 1.093 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002098/0.9877, allocations: 166.6 kB / 1.093 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.009e-05/0.9877, allocations: 84.16 kB / 1.094 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.9877, allocations: 1.156 kB / 1.094 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.418e-05/0.9878, allocations: 5.859 kB / 1.094 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/0.9878, allocations: 2.422 kB / 1.094 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-06/0.9878, allocations: 1.062 kB / 1.094 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.675e-05/0.9879, allocations: 88.33 kB / 1.094 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9879, allocations: 4.031 kB / 1.094 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002759/0.9881, allocations: 29.41 kB / 1.094 GB, free: 1.129 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.0002427/0.9884, allocations: 133.3 kB / 1.094 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002177/0.9886, allocations: 43.39 kB / 1.094 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.9886, allocations: 0 / 1.094 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.606e-05/0.9887, allocations: 20.05 kB / 1.094 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.989, allocations: 10.69 kB / 1.094 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002449/0.9892, allocations: 131.4 kB / 1.094 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002057/0.9894, allocations: 0.6802 MB / 1.095 GB, free: 16.17 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.083e-05/0.9895, allocations: 12.81 kB / 1.095 GB, free: 16.16 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/0.9895, allocations: 0 / 1.095 GB, free: 16.16 MB / 0.8731 GB Notification: Performance of Templates: time 0.0028/0.9923, allocations: 0.98 MB / 1.096 GB, free: 16.1 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.BesselY1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches