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.001073/0.001073, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.008172/0.008172, allocations: 171.4 kB / 16.26 MB, free: 6.676 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.497/1.497, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.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.524/2.524, allocations: 390.9 MB / 0.6663 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003638/0.0003638, allocations: 12 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8313/0.8317, allocations: 142.4 MB / 0.955 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.001824/0.8336, allocations: 1.156 MB / 0.9562 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009026/0.8345, allocations: 366.3 kB / 0.9565 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.483e-05/0.8345, allocations: 0 / 0.9565 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.974e-05/0.8346, allocations: 8.891 kB / 0.9565 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.503e-05/0.8346, allocations: 3.984 kB / 0.9565 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004079/0.8351, allocations: 83.5 kB / 0.9566 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.062e-05/0.8351, allocations: 20.22 kB / 0.9566 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.8352, allocations: 11.06 kB / 0.9566 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.839e-05/0.8353, allocations: 11.48 kB / 0.9566 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.125e-05/0.8353, allocations: 10.25 kB / 0.9567 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.8354, allocations: 1.25 kB / 0.9567 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00026/0.8356, allocations: 142.9 kB / 0.9568 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.049e-05/0.8356, allocations: 0 / 0.9568 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.979e-05/0.8357, allocations: 31.86 kB / 0.9568 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002035/0.8359, allocations: 97.75 kB / 0.9569 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.8359, allocations: 4 kB / 0.9569 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.124e-06/0.8359, allocations: 0 / 0.9569 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.74e-06/0.8359, allocations: 1.188 kB / 0.9569 GB, free: 6.215 MB / 0.7169 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.0004816/0.8364, allocations: 355.1 kB / 0.9573 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.8365, allocations: 9.094 kB / 0.9573 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.171e-05/0.8365, allocations: 2.156 kB / 0.9573 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.931e-05/0.8366, allocations: 169.5 kB / 0.9574 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.8366, allocations: 5.5 kB / 0.9574 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.8366, allocations: 1.406 kB / 0.9574 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.8368, allocations: 58.22 kB / 0.9575 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.8369, allocations: 1.219 kB / 0.9575 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.8369, allocations: 3.938 kB / 0.9575 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.8369, allocations: 1.375 kB / 0.9575 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001781/0.8371, allocations: 48.12 kB / 0.9575 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003176/0.8374, allocations: 252.6 kB / 0.9578 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.8375, allocations: 47.03 kB / 0.9578 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.3e-05/0.8376, allocations: 28.81 kB / 0.9579 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000692/0.8383, allocations: 473 kB / 0.9583 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.8384, allocations: 35.69 kB / 0.9583 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.343e-06/0.8384, allocations: 0 / 0.9583 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0004192/0.8388, allocations: 98.86 kB / 0.9584 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.8389, allocations: 57.19 kB / 0.9585 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.377e-05/0.8389, allocations: 97.52 kB / 0.9586 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.839, allocations: 27.7 kB / 0.9586 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.728e-05/0.839, allocations: 84.27 kB / 0.9587 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.262e-05/0.839, allocations: 13.73 kB / 0.9587 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.181e-05/0.839, allocations: 9.719 kB / 0.9587 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.068e-05/0.8391, allocations: 312.8 kB / 0.959 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.804e-05/0.8392, allocations: 21.45 kB / 0.959 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.959e-05/0.8393, allocations: 25.2 kB / 0.9591 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.8395, allocations: 49.78 kB / 0.9591 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.8395, allocations: 3.938 kB / 0.9591 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002017/0.8397, allocations: 82.22 kB / 0.9592 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.8397, allocations: 5.031 kB / 0.9592 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.8397, allocations: 0 / 0.9592 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.8397, allocations: 1.5 kB / 0.9592 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.831e-05/0.8398, allocations: 11.5 kB / 0.9592 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.8399, allocations: 5.562 kB / 0.9592 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.96e-05/0.8399, allocations: 8.984 kB / 0.9592 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.8399, allocations: 1.094 kB / 0.9592 GB, free: 3.879 MB / 0.7169 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 6.306e-05/0.84, allocations: 111.1 kB / 0.9593 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.122e-05/0.84, allocations: 1.469 kB / 0.9593 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002404/0.8403, allocations: 91.92 kB / 0.9594 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.8403, allocations: 1.906 kB / 0.9594 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.8403, allocations: 0 / 0.9594 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.8403, allocations: 0 / 0.9594 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001303/0.8404, allocations: 163 kB / 0.9596 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.8404, allocations: 0 / 0.9596 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.654e-05/0.8405, allocations: 11.23 kB / 0.9596 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.8405, allocations: 5.906 kB / 0.9596 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.8405, allocations: 0 / 0.9596 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.8405, allocations: 0 / 0.9596 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.8405, allocations: 0 / 0.9596 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002335/0.8408, allocations: 181.5 kB / 0.9598 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.203e-05/0.8408, allocations: 79.23 kB / 0.9598 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.8408, allocations: 0 / 0.9598 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.354e-05/0.8409, allocations: 13.83 kB / 0.9599 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.782e-05/0.841, allocations: 1.469 kB / 0.9599 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.841, allocations: 0 / 0.9599 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.693e-05/0.841, allocations: 83.45 kB / 0.9599 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.841, allocations: 4.031 kB / 0.9599 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002886/0.8413, allocations: 31.62 kB / 0.96 GB, free: 3.133 MB / 0.7169 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.0002942/0.8416, allocations: 136.6 kB / 0.9601 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002464/0.8419, allocations: 58.08 kB / 0.9602 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.8419, allocations: 0 / 0.9602 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.23e-05/0.842, allocations: 24.55 kB / 0.9602 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.8422, allocations: 10.69 kB / 0.9602 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003136/0.8425, allocations: 106.6 kB / 0.9603 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001434/0.8427, allocations: 0.6746 MB / 0.9609 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.344e-05/0.8427, allocations: 3.984 kB / 0.961 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.015e-05/0.8428, allocations: 8.812 kB / 0.961 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.8428, allocations: 4.062 kB / 0.961 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of Templates: time 0.003379/0.8461, allocations: 0.815 MB / 0.9618 GB, free: 1.75 MB / 0.7169 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches