Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.067/2.067, allocations: 387.4 MB / 394.9 MB, free: 13.36 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 179.7 kB / 487.4 MB, free: 5.031 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 221.5 MB / 0.7824 GB, free: 0.8984 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009735/0.0009735, allocations: 103.8 kB / 0.9219 GB, free: 2.133 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.859e-05/1.834e-05, allocations: 11.98 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2364, allocations: 142.3 MB / 1.206 GB, free: 43.91 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7581/0.9945, allocations: 148.2 MB / 1.351 GB, free: 18.51 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002603/0.9948, allocations: 82.09 kB / 1.351 GB, free: 18.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006254/1.001, allocations: 2.09 MB / 1.353 GB, free: 34.1 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.443e-06/1.001, allocations: 0 / 1.353 GB, free: 34.1 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.709e-06/1.001, allocations: 4 kB / 1.353 GB, free: 34.09 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002299/1.001, allocations: 337 kB / 1.353 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/1.001, allocations: 7.875 kB / 1.353 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.655e-05/1.001, allocations: 0 / 1.353 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.847e-05/1.002, allocations: 164.3 kB / 1.353 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/1.002, allocations: 6.562 kB / 1.353 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.696e-06/1.002, allocations: 0 / 1.353 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.41e-05/1.002, allocations: 4.547 kB / 1.353 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.98e-05/1.002, allocations: 30.09 kB / 1.353 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/1.002, allocations: 4 kB / 1.353 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/1.002, allocations: 0.5625 kB / 1.353 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/1.002, allocations: 0 / 1.353 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.886e-05/1.002, allocations: 130.7 kB / 1.354 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 2.796e-05/1.002, allocations: 14.58 kB / 1.354 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.366e-05/1.002, allocations: 12.61 kB / 1.354 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004705/1.002, allocations: 448.2 kB / 1.354 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/1.002, allocations: 31.17 kB / 1.354 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 2.024e-06/1.002, allocations: 0 / 1.354 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001289/1.002, allocations: 34.69 kB / 1.354 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.098e-05/1.003, allocations: 51.41 kB / 1.354 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.579e-05/1.003, allocations: 89.73 kB / 1.354 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.284e-06/1.003, allocations: 29.52 kB / 1.354 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.712e-05/1.003, allocations: 82.95 kB / 1.354 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/1.003, allocations: 4.531 kB / 1.354 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.334e-06/1.003, allocations: 0 / 1.354 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001253/1.003, allocations: 311.5 kB / 1.355 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.404e-06/1.003, allocations: 0 / 1.355 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.312e-06/1.003, allocations: 0.5625 kB / 1.355 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.134e-05/1.003, allocations: 8.688 kB / 1.355 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/1.003, allocations: 0 / 1.355 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.682e-05/1.003, allocations: 38.86 kB / 1.355 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/1.003, allocations: 8.516 kB / 1.355 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/1.003, allocations: 0 / 1.355 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/1.003, allocations: 0 / 1.355 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.143e-05/1.003, allocations: 0.7969 kB / 1.355 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/1.003, allocations: 1.016 kB / 1.355 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.999e-06/1.003, allocations: 3.938 kB / 1.355 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/1.003, allocations: 3.969 kB / 1.355 GB, free: 32.12 MB / 0.8386 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 5.841e-05/1.003, allocations: 109.2 kB / 1.355 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.221e-06/1.003, allocations: 3.953 kB / 1.355 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.082e-05/1.003, allocations: 36.14 kB / 1.355 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/1.003, allocations: 0 / 1.355 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/1.003, allocations: 0 / 1.355 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/1.003, allocations: 0 / 1.355 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.452e-05/1.003, allocations: 127.9 kB / 1.355 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/1.003, allocations: 1.5 kB / 1.355 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.066e-05/1.003, allocations: 0.6094 kB / 1.355 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/1.003, allocations: 4.031 kB / 1.355 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/1.003, allocations: 3.984 kB / 1.355 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/1.003, allocations: 8.5 kB / 1.355 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.003, allocations: 7.875 kB / 1.355 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.854e-05/1.003, allocations: 53.84 kB / 1.355 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.656e-05/1.003, allocations: 77.67 kB / 1.355 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/1.003, allocations: 0.5625 kB / 1.355 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.305e-06/1.003, allocations: 8.391 kB / 1.355 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.305e-05/1.003, allocations: 3.953 kB / 1.355 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/1.003, allocations: 1.203 kB / 1.355 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.941e-05/1.004, allocations: 75.28 kB / 1.355 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.004, allocations: 0 / 1.355 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000227/1.004, allocations: 44.08 kB / 1.355 GB, free: 31.54 MB / 0.8386 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0002867/1.004, allocations: 155.4 kB / 1.355 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.571e-05/1.004, allocations: 8.516 kB / 1.355 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/1.004, allocations: 0 / 1.355 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.917e-06/1.004, allocations: 64 / 1.355 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.929e-05/1.004, allocations: 4.812 kB / 1.355 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000129/1.004, allocations: 48.55 kB / 1.355 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002244/1.005, allocations: 0.6747 MB / 1.356 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.058e-05/1.005, allocations: 0.5 kB / 1.356 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.129e-05/1.005, allocations: 8.047 kB / 1.356 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.005, allocations: 0 / 1.356 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of Templates: time 0.002349/1.007, allocations: 0.5731 MB / 1.357 GB, free: 30.6 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_BesselY0.csv","../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches