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.009164/0.009164, allocations: 100.5 kB / 15.73 MB, free: 6.039 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.001599/0.001599, allocations: 195.5 kB / 16.68 MB, free: 5.957 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.393/1.393, allocations: 222.9 MB / 240.4 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.242/2.242, allocations: 390.2 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 64.12 kB / 0.9508 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.09/1.091, allocations: 140.4 MB / 1.088 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002701/1.094, allocations: 1.426 MB / 1.089 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007147/1.095, allocations: 352.2 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.551e-05/1.095, allocations: 0 / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.184e-05/1.095, allocations: 5.594 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.33e-05/1.095, allocations: 4.547 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004933/1.095, allocations: 102.5 kB / 1.09 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.857e-05/1.096, allocations: 27.69 kB / 1.09 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/1.096, allocations: 4.844 kB / 1.09 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.75e-05/1.096, allocations: 8.609 kB / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.171e-05/1.096, allocations: 9.984 kB / 1.09 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.12e-05/1.096, allocations: 9.438 kB / 1.09 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002846/1.096, allocations: 123.1 kB / 1.09 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.34e-05/1.096, allocations: 2.078 kB / 1.09 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.477e-05/1.096, allocations: 11.86 kB / 1.09 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002182/1.096, allocations: 79.89 kB / 1.09 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/1.096, allocations: 0 / 1.09 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.136e-06/1.096, allocations: 0 / 1.09 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.772e-06/1.096, allocations: 5.031 kB / 1.09 GB, free: 4.152 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.0004444/1.097, allocations: 355.4 kB / 1.09 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/1.097, allocations: 8.531 kB / 1.09 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.321e-05/1.097, allocations: 7.625 kB / 1.09 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.669e-05/1.097, allocations: 166.4 kB / 1.091 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/1.097, allocations: 2.078 kB / 1.091 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/1.097, allocations: 1.281 kB / 1.091 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/1.097, allocations: 49.66 kB / 1.091 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/1.097, allocations: 192 / 1.091 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/1.097, allocations: 3.938 kB / 1.091 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/1.097, allocations: 1.75 kB / 1.091 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000161/1.097, allocations: 36.09 kB / 1.091 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002916/1.098, allocations: 246.4 kB / 1.091 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/1.098, allocations: 44.27 kB / 1.091 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.373e-05/1.098, allocations: 24.62 kB / 1.091 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006032/1.099, allocations: 457.4 kB / 1.091 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/1.099, allocations: 35.69 kB / 1.091 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/1.099, allocations: 0 / 1.091 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003346/1.099, allocations: 91.33 kB / 1.091 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.264e-05/1.099, allocations: 52.53 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.504e-05/1.099, allocations: 96.95 kB / 1.092 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/1.099, allocations: 30.5 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.093e-05/1.099, allocations: 85.34 kB / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/1.099, allocations: 5.797 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-05/1.099, allocations: 16.5 kB / 1.092 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.264e-05/1.099, allocations: 318.2 kB / 1.092 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.202e-05/1.099, allocations: 12.89 kB / 1.092 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.645e-05/1.099, allocations: 18.59 kB / 1.092 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/1.1, allocations: 41.45 kB / 1.092 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/1.1, allocations: 1.156 kB / 1.092 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001753/1.1, allocations: 70.53 kB / 1.092 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/1.1, allocations: 5.094 kB / 1.092 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/1.1, allocations: 0.875 kB / 1.092 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/1.1, allocations: 0 / 1.092 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.317e-05/1.1, allocations: 13.28 kB / 1.092 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/1.1, allocations: 0.5156 kB / 1.092 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.511e-05/1.1, allocations: 10.2 kB / 1.092 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/1.1, allocations: 0.8438 kB / 1.092 GB, free: 1.957 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.48e-05/1.1, allocations: 116.1 kB / 1.092 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.894e-05/1.1, allocations: 2.672 kB / 1.092 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002221/1.1, allocations: 66.53 kB / 1.092 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/1.1, allocations: 4.75 kB / 1.092 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/1.1, allocations: 4.031 kB / 1.092 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/1.1, allocations: 5.672 kB / 1.092 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/1.1, allocations: 159.1 kB / 1.093 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/1.1, allocations: 0.8438 kB / 1.093 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.69e-05/1.1, allocations: 8.156 kB / 1.093 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/1.1, allocations: 1.031 kB / 1.093 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/1.101, allocations: 1.578 kB / 1.093 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/1.101, allocations: 0 / 1.093 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/1.101, allocations: 0.8125 kB / 1.093 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002161/1.101, allocations: 170.7 kB / 1.093 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.549e-05/1.101, allocations: 84.55 kB / 1.093 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/1.101, allocations: 1.547 kB / 1.093 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.987e-05/1.101, allocations: 5.688 kB / 1.093 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.49e-05/1.101, allocations: 6.016 kB / 1.093 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/1.101, allocations: 1.234 kB / 1.093 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.493e-05/1.101, allocations: 84.16 kB / 1.093 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/1.101, allocations: 3.938 kB / 1.093 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002869/1.101, allocations: 29.34 kB / 1.093 GB, free: 1.254 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.0002578/1.102, allocations: 136.6 kB / 1.093 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002216/1.102, allocations: 39.22 kB / 1.093 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/1.102, allocations: 0 / 1.093 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.297e-05/1.102, allocations: 17.52 kB / 1.093 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002283/1.102, allocations: 6 kB / 1.093 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002876/1.102, allocations: 115.7 kB / 1.093 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/1.103, allocations: 0.6761 MB / 1.094 GB, free: 16.33 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.268e-05/1.103, allocations: 5.312 kB / 1.094 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.001e-05/1.103, allocations: 13.28 kB / 1.094 GB, free: 16.31 MB / 0.8731 GB Notification: Performance of SimCode: time 2.01e-07/1.103, allocations: 0 / 1.094 GB, free: 16.31 MB / 0.8731 GB Notification: Performance of Templates: time 0.004014/1.107, allocations: 0.8782 MB / 1.095 GB, free: 16.23 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches