Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings.Utilities.Math.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_latest_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.0009505/0.0009503, allocations: 99 kB / 15.05 MB, free: 1.105 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.001215/0.001215, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 223.2 MB / 239.9 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.687/2.687, allocations: 436.5 MB / 0.7104 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003801/0.0003801, allocations: 12 kB / 0.8707 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8337/0.8341, allocations: 153.7 MB / 1.021 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.001704/0.8359, allocations: 1.156 MB / 1.022 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006818/0.8366, allocations: 324.1 kB / 1.022 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.032e-05/0.8366, allocations: 7.938 kB / 1.022 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.858e-05/0.8367, allocations: 0 / 1.022 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.608e-05/0.8367, allocations: 0 / 1.022 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003919/0.8371, allocations: 67.8 kB / 1.022 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.939e-05/0.8372, allocations: 15.97 kB / 1.022 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.967e-05/0.8373, allocations: 8 kB / 1.022 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.065e-05/0.8373, allocations: 11.92 kB / 1.022 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.164e-05/0.8374, allocations: 3.984 kB / 1.022 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.578e-06/0.8374, allocations: 8 kB / 1.022 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002177/0.8376, allocations: 123.8 kB / 1.022 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.578e-06/0.8376, allocations: 3.984 kB / 1.022 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.012e-05/0.8377, allocations: 33.7 kB / 1.023 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.8378, allocations: 55.84 kB / 1.023 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.8378, allocations: 0 / 1.023 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.595e-06/0.8378, allocations: 0 / 1.023 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.8378, allocations: 0 / 1.023 GB, free: 15.39 MB / 0.7794 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.0004934/0.8383, allocations: 361.2 kB / 1.023 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.8384, allocations: 15.98 kB / 1.023 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.274e-05/0.8384, allocations: 0 / 1.023 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.8386, allocations: 163.1 kB / 1.023 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.8386, allocations: 7.984 kB / 1.023 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.228e-06/0.8386, allocations: 0 / 1.023 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.8388, allocations: 61.62 kB / 1.023 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/0.8388, allocations: 0 / 1.023 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.8389, allocations: 0 / 1.023 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.8389, allocations: 0 / 1.023 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001743/0.8391, allocations: 39.97 kB / 1.023 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003641/0.8394, allocations: 260.8 kB / 1.023 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.8396, allocations: 42.56 kB / 1.023 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006739/0.8403, allocations: 465.4 kB / 1.024 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.8403, allocations: 30.56 kB / 1.024 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/0.8403, allocations: 0 / 1.024 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003589/0.8407, allocations: 105.6 kB / 1.024 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.8407, allocations: 51.41 kB / 1.024 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.554e-05/0.8408, allocations: 93.86 kB / 1.024 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.8408, allocations: 25.7 kB / 1.024 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.457e-05/0.8409, allocations: 100.2 kB / 1.024 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.861e-05/0.8409, allocations: 3.906 kB / 1.024 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-06/0.8409, allocations: 0 / 1.024 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.841, allocations: 310.8 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.479e-05/0.8411, allocations: 23.98 kB / 1.025 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.4e-05/0.8412, allocations: 23.97 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.113e-05/0.8413, allocations: 23.98 kB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.8413, allocations: 0 / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001971/0.8415, allocations: 81.62 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.8415, allocations: 11.92 kB / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.8415, allocations: 0 / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.8415, allocations: 0 / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.623e-05/0.8416, allocations: 8 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.8416, allocations: 4 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.584e-05/0.8417, allocations: 7.984 kB / 1.025 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.8417, allocations: 4.031 kB / 1.025 GB, free: 12.8 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.688e-05/0.8418, allocations: 113.8 kB / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.156e-05/0.8418, allocations: 3.953 kB / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002372/0.8421, allocations: 88.77 kB / 1.025 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.8421, allocations: 0 / 1.025 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.8421, allocations: 0 / 1.025 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.8421, allocations: 0 / 1.025 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.8422, allocations: 153.7 kB / 1.025 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.8422, allocations: 3.938 kB / 1.025 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.674e-05/0.8423, allocations: 15.98 kB / 1.025 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.8423, allocations: 3.953 kB / 1.025 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.8423, allocations: 4 kB / 1.025 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.8423, allocations: 0 / 1.025 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.8423, allocations: 4.031 kB / 1.025 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000257/0.8426, allocations: 167.4 kB / 1.025 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.831e-05/0.8427, allocations: 85.14 kB / 1.025 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.8427, allocations: 3.953 kB / 1.025 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.176e-05/0.8428, allocations: 7.984 kB / 1.025 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.173e-05/0.8428, allocations: 8.188 kB / 1.025 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.8428, allocations: 0 / 1.025 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.504e-05/0.8429, allocations: 87.25 kB / 1.026 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8429, allocations: 0 / 1.026 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000257/0.8432, allocations: 28 kB / 1.026 GB, free: 11.94 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002666/0.8434, allocations: 139.2 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002145/0.8437, allocations: 47.95 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.8437, allocations: 0 / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.3e-05/0.8438, allocations: 27.98 kB / 1.026 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001709/0.8439, allocations: 5.656 kB / 1.026 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002923/0.8442, allocations: 112.8 kB / 1.026 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/0.8445, allocations: 0.6809 MB / 1.027 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.983e-05/0.8445, allocations: 0 / 1.027 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.07e-05/0.8446, allocations: 7.438 kB / 1.027 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of SimCode: time 1.493e-06/0.8446, allocations: 4 kB / 1.027 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of Templates: time 0.003098/0.8477, allocations: 0.804 MB / 1.027 GB, free: 10.06 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselY0.csv","../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches