Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.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.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.983/1.983, allocations: 387.2 MB / 394.5 MB, free: 13.71 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.001095/0.001095, allocations: 173.3 kB / 487 MB, free: 5.375 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.286/1.286, allocations: 221.3 MB / 0.7819 GB, free: 1.453 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.001134/0.001133, allocations: 104.4 kB / 0.9213 GB, free: 2.715 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.376e-06/8.416e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2539, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7374/0.9914, allocations: 148.2 MB / 1.35 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/0.9917, allocations: 74.98 kB / 1.35 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.006261/0.998, allocations: 1.861 MB / 1.352 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.998, allocations: 0 / 1.352 GB, free: 15.84 MB / 0.8073 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.0002636/0.9983, allocations: 338.4 kB / 1.352 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.9983, allocations: 10.8 kB / 1.352 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.838e-05/0.9984, allocations: 0 / 1.352 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.989e-05/0.9985, allocations: 160.2 kB / 1.352 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.9985, allocations: 0 / 1.352 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.388e-06/0.9985, allocations: 10.98 kB / 1.352 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.137e-05/0.9986, allocations: 0 / 1.352 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.939e-05/0.9986, allocations: 31.95 kB / 1.352 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.9986, allocations: 0 / 1.352 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.9987, allocations: 0 / 1.352 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.9987, allocations: 4 kB / 1.352 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001115/0.9988, allocations: 126 kB / 1.353 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.411e-05/0.9988, allocations: 16.61 kB / 1.353 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.886e-05/0.9989, allocations: 6.078 kB / 1.353 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006238/0.9995, allocations: 455.7 kB / 1.353 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.9995, allocations: 31.59 kB / 1.353 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.9995, allocations: 0 / 1.353 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1): time 0.0001676/0.9997, allocations: 37.86 kB / 1.353 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.849e-05/0.9997, allocations: 56.41 kB / 1.353 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.93e-05/0.9997, allocations: 85 kB / 1.353 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.474e-06/0.9998, allocations: 25.7 kB / 1.353 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.843e-05/0.9998, allocations: 83.73 kB / 1.353 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.9998, allocations: 3.297 kB / 1.353 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.365e-06/0.9998, allocations: 0 / 1.353 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.524e-05/0.9999, allocations: 310.8 kB / 1.354 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.773e-06/0.9999, allocations: 0.875 kB / 1.354 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.401e-06/0.9999, allocations: 5.094 kB / 1.354 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.392e-05/1, allocations: 2.562 kB / 1.354 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/1, allocations: 0 / 1.354 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.737e-05/1, allocations: 34.91 kB / 1.354 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/1, allocations: 9.938 kB / 1.354 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/1, allocations: 0 / 1.354 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/1, allocations: 1.094 kB / 1.354 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.572e-05/1, allocations: 4.297 kB / 1.354 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/1, allocations: 5.5 kB / 1.354 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.478e-06/1, allocations: 0 / 1.354 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/1, allocations: 5.125 kB / 1.354 GB, free: 13.86 MB / 0.8073 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.244e-05/1, allocations: 108.6 kB / 1.354 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.274e-06/1, allocations: 3.906 kB / 1.354 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.237e-05/1, allocations: 35.05 kB / 1.354 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/1, allocations: 1.031 kB / 1.354 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/1, allocations: 4.641 kB / 1.354 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/1, allocations: 1.125 kB / 1.354 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.857e-05/1, allocations: 127.8 kB / 1.354 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/1, allocations: 1.094 kB / 1.354 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.191e-05/1, allocations: 5.703 kB / 1.354 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/1, allocations: 1.125 kB / 1.354 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/1, allocations: 3.906 kB / 1.354 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/1, allocations: 1.484 kB / 1.354 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1, allocations: 1.125 kB / 1.354 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.597e-05/1.001, allocations: 60.3 kB / 1.354 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.399e-05/1.001, allocations: 77.91 kB / 1.354 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/1.001, allocations: 1.094 kB / 1.354 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.995e-06/1.001, allocations: 8.734 kB / 1.354 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.108e-05/1.001, allocations: 1.031 kB / 1.354 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-06/1.001, allocations: 4 kB / 1.354 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.179e-05/1.001, allocations: 77.16 kB / 1.354 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002461/1.001, allocations: 41.56 kB / 1.354 GB, free: 13.29 MB / 0.8073 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.0004241/1.001, allocations: 173.1 kB / 1.354 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.046e-05/1.001, allocations: 3.422 kB / 1.354 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.001, allocations: 0 / 1.354 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.839e-06/1.001, allocations: 6.875 kB / 1.354 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.891e-05/1.002, allocations: 0 / 1.354 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001397/1.002, allocations: 45.53 kB / 1.354 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001759/1.002, allocations: 0.681 MB / 1.355 GB, free: 28.41 MB / 0.823 GB Notification: Performance of SimCode: time 2.4e-07/1.002, allocations: 0.7188 kB / 1.355 GB, free: 28.41 MB / 0.823 GB Notification: Performance of Templates: time 0.002833/1.005, allocations: 0.62 MB / 1.356 GB, free: 28.34 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_BesselY1.csv","../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches