Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_9_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.001386/0.001386, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001452/0.001452, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.14 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.312/2.312, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 67.89 kB / 0.9515 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.129/1.13, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002801/1.133, allocations: 1.429 MB / 1.09 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007303/1.134, allocations: 352.6 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.097e-05/1.134, allocations: 0 / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.983e-05/1.134, allocations: 0 / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.949e-05/1.134, allocations: 5.391 kB / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004682/1.135, allocations: 101.8 kB / 1.09 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.839e-05/1.135, allocations: 28.22 kB / 1.09 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.817e-05/1.135, allocations: 13.3 kB / 1.09 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.299e-05/1.135, allocations: 8.016 kB / 1.09 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.288e-05/1.135, allocations: 13.36 kB / 1.091 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/1.135, allocations: 2.25 kB / 1.091 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002514/1.135, allocations: 120.3 kB / 1.091 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.316e-05/1.135, allocations: 4.562 kB / 1.091 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.514e-05/1.135, allocations: 11.73 kB / 1.091 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002105/1.135, allocations: 87.09 kB / 1.091 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/1.135, allocations: 1.672 kB / 1.091 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.653e-06/1.136, allocations: 0 / 1.091 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.314e-06/1.136, allocations: 0 / 1.091 GB, free: 4.145 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.0004519/1.136, allocations: 359.3 kB / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/1.136, allocations: 9.844 kB / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.539e-05/1.136, allocations: 5.875 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.306e-05/1.136, allocations: 163.9 kB / 1.091 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/1.136, allocations: 0.9375 kB / 1.091 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/1.136, allocations: 1.469 kB / 1.091 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/1.136, allocations: 52.91 kB / 1.091 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/1.136, allocations: 5.281 kB / 1.091 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/1.136, allocations: 3.938 kB / 1.091 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/1.136, allocations: 0.9062 kB / 1.091 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001796/1.137, allocations: 32.36 kB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002974/1.137, allocations: 242.8 kB / 1.092 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/1.137, allocations: 44.28 kB / 1.092 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.018e-05/1.137, allocations: 24.22 kB / 1.092 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005896/1.138, allocations: 457.6 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/1.138, allocations: 35.27 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.943e-06/1.138, allocations: 5.266 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003498/1.138, allocations: 82.59 kB / 1.092 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.52e-05/1.138, allocations: 53.33 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.749e-05/1.138, allocations: 101 kB / 1.092 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.955e-06/1.138, allocations: 25.7 kB / 1.092 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.825e-05/1.138, allocations: 86.12 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/1.138, allocations: 13.62 kB / 1.092 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.683e-05/1.138, allocations: 12.67 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.167e-05/1.138, allocations: 313.2 kB / 1.093 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.305e-05/1.138, allocations: 21.41 kB / 1.093 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.332e-05/1.139, allocations: 14.42 kB / 1.093 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/1.139, allocations: 41.56 kB / 1.093 GB, free: 2 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/1.139, allocations: 0 / 1.093 GB, free: 2 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001916/1.139, allocations: 70.81 kB / 1.093 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/1.139, allocations: 6.344 kB / 1.093 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/1.139, allocations: 0 / 1.093 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/1.139, allocations: 1.156 kB / 1.093 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.423e-05/1.139, allocations: 12.55 kB / 1.093 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/1.139, allocations: 4.688 kB / 1.093 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.649e-05/1.139, allocations: 6.141 kB / 1.093 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/1.139, allocations: 9.25 kB / 1.093 GB, free: 1.941 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.334e-05/1.139, allocations: 112 kB / 1.093 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.197e-05/1.139, allocations: 4.969 kB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002258/1.139, allocations: 75.88 kB / 1.093 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/1.139, allocations: 0.8125 kB / 1.093 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/1.139, allocations: 0.9688 kB / 1.093 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/1.139, allocations: 0 / 1.093 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/1.14, allocations: 159.6 kB / 1.093 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/1.14, allocations: 0 / 1.093 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.821e-05/1.14, allocations: 9.578 kB / 1.093 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/1.14, allocations: 0.875 kB / 1.093 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/1.14, allocations: 0.6094 kB / 1.093 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/1.14, allocations: 0.75 kB / 1.093 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/1.14, allocations: 4.031 kB / 1.093 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002139/1.14, allocations: 166.7 kB / 1.093 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.516e-05/1.14, allocations: 84.98 kB / 1.094 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/1.14, allocations: 1.203 kB / 1.094 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.641e-05/1.14, allocations: 5.859 kB / 1.094 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.036e-05/1.14, allocations: 6.672 kB / 1.094 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-06/1.14, allocations: 1.438 kB / 1.094 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.829e-05/1.14, allocations: 83.69 kB / 1.094 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/1.14, allocations: 0 / 1.094 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002675/1.14, allocations: 28.86 kB / 1.094 GB, free: 1.246 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.0002456/1.141, allocations: 133.1 kB / 1.094 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002314/1.141, allocations: 39.36 kB / 1.094 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.141, allocations: 0 / 1.094 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.874e-05/1.141, allocations: 20.25 kB / 1.094 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/1.141, allocations: 11.39 kB / 1.094 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002494/1.142, allocations: 131.2 kB / 1.094 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001812/1.142, allocations: 0.6757 MB / 1.095 GB, free: 16.29 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.023e-05/1.142, allocations: 8.781 kB / 1.095 GB, free: 16.29 MB / 0.8731 GB Notification: Performance of SimCode: time 7.31e-07/1.142, allocations: 0.7188 kB / 1.095 GB, free: 16.29 MB / 0.8731 GB Notification: Performance of Templates: time 0.002989/1.145, allocations: 0.9916 MB / 1.096 GB, free: 16.21 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches