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.001449/0.001449, allocations: 104.6 kB / 16.41 MB, free: 6.496 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.001638/0.001638, allocations: 183 kB / 17.34 MB, free: 5.734 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.413/1.413, allocations: 222.9 MB / 241 MB, free: 15.15 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.294/2.294, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001597/0.001597, allocations: 63.89 kB / 0.9515 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.024/1.026, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002572/1.028, allocations: 1.424 MB / 1.09 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0006599/1.029, allocations: 355.6 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.818e-05/1.029, allocations: 5 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.254e-05/1.029, allocations: 0.5625 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.081e-05/1.029, allocations: 4.547 kB / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004428/1.03, allocations: 99.12 kB / 1.09 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.671e-05/1.03, allocations: 27.62 kB / 1.09 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.268e-05/1.03, allocations: 7.516 kB / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.44e-05/1.03, allocations: 8.844 kB / 1.09 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.427e-05/1.03, allocations: 14.84 kB / 1.091 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.488e-06/1.03, allocations: 1.406 kB / 1.091 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002319/1.03, allocations: 119.1 kB / 1.091 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.248e-05/1.03, allocations: 6.297 kB / 1.091 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.19e-05/1.03, allocations: 11.27 kB / 1.091 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002011/1.03, allocations: 88.31 kB / 1.091 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/1.03, allocations: 0 / 1.091 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.984e-06/1.03, allocations: 4 kB / 1.091 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.821e-06/1.03, allocations: 5.125 kB / 1.091 GB, free: 4.141 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.0004067/1.031, allocations: 350.8 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/1.031, allocations: 9.188 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.945e-05/1.031, allocations: 6.938 kB / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.891e-05/1.031, allocations: 163.2 kB / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/1.031, allocations: 5.562 kB / 1.091 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/1.031, allocations: 1.281 kB / 1.091 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/1.031, allocations: 53.16 kB / 1.091 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/1.031, allocations: 1.281 kB / 1.091 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/1.031, allocations: 7.922 kB / 1.091 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/1.031, allocations: 1.375 kB / 1.091 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001626/1.031, allocations: 35.72 kB / 1.091 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002706/1.032, allocations: 243.3 kB / 1.092 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/1.032, allocations: 44.38 kB / 1.092 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.098e-05/1.032, allocations: 23.53 kB / 1.092 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005521/1.032, allocations: 456.9 kB / 1.092 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.542e-05/1.032, allocations: 32.81 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/1.032, allocations: 0 / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003424/1.033, allocations: 87.27 kB / 1.092 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.221e-05/1.033, allocations: 52.81 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.724e-05/1.033, allocations: 105 kB / 1.092 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.314e-06/1.033, allocations: 25.7 kB / 1.092 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.955e-05/1.033, allocations: 82.05 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/1.033, allocations: 9.969 kB / 1.092 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.716e-05/1.033, allocations: 12.55 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.631e-05/1.033, allocations: 313.7 kB / 1.093 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.345e-05/1.033, allocations: 17.47 kB / 1.093 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.242e-05/1.033, allocations: 21.94 kB / 1.093 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/1.033, allocations: 41.91 kB / 1.093 GB, free: 2 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/1.033, allocations: 0 / 1.093 GB, free: 2 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001901/1.033, allocations: 70.83 kB / 1.093 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/1.034, allocations: 5.547 kB / 1.093 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/1.034, allocations: 0.9375 kB / 1.093 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/1.034, allocations: 4.094 kB / 1.093 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.899e-05/1.034, allocations: 12.95 kB / 1.093 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/1.034, allocations: 1.766 kB / 1.093 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.321e-05/1.034, allocations: 5.922 kB / 1.093 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/1.034, allocations: 0.9062 kB / 1.093 GB, free: 1.949 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.081e-05/1.034, allocations: 112 kB / 1.093 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.251e-05/1.034, allocations: 0.7812 kB / 1.093 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002215/1.034, allocations: 79.28 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/1.034, allocations: 1.406 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/1.034, allocations: 0 / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/1.034, allocations: 1.922 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/1.034, allocations: 158.7 kB / 1.093 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/1.034, allocations: 0.5156 kB / 1.093 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.443e-05/1.034, allocations: 8.781 kB / 1.093 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/1.034, allocations: 1.094 kB / 1.093 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/1.034, allocations: 32 / 1.093 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/1.034, allocations: 5.891 kB / 1.093 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.034, allocations: 4 kB / 1.093 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002131/1.034, allocations: 166.6 kB / 1.093 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.11e-05/1.034, allocations: 84.27 kB / 1.094 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/1.035, allocations: 1.281 kB / 1.094 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.266e-05/1.035, allocations: 10.44 kB / 1.094 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.888e-05/1.035, allocations: 2.125 kB / 1.094 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/1.035, allocations: 1.453 kB / 1.094 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.703e-05/1.035, allocations: 82.91 kB / 1.094 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/1.035, allocations: 0.6562 kB / 1.094 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002712/1.035, allocations: 29.41 kB / 1.094 GB, free: 1.25 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.0002437/1.035, allocations: 136.6 kB / 1.094 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002131/1.035, allocations: 35.14 kB / 1.094 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.035, allocations: 0.8438 kB / 1.094 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.41e-05/1.036, allocations: 28.12 kB / 1.094 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/1.036, allocations: 7.062 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.0002642/1.036, allocations: 133.3 kB / 1.094 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002078/1.036, allocations: 0.6756 MB / 1.095 GB, free: 16.29 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.081e-05/1.036, allocations: 13.25 kB / 1.095 GB, free: 16.28 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/1.036, allocations: 3.938 kB / 1.095 GB, free: 16.28 MB / 0.8731 GB Notification: Performance of Templates: time 0.002987/1.039, allocations: 0.9778 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