Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0") [: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 7.0.3-maint.7.0.x/package.mo): time 1.223/1.223, allocations: 249.4 MB / 256.7 MB, free: 7.086 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009685/0.0009682, allocations: 177.2 kB / 316 MB, free: 3.598 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.081/1.081, allocations: 205.1 MB / 0.5667 GB, free: 15.73 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008745/0.0008745, allocations: 86.56 kB / 0.671 GB, free: 4.871 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.714e-06/7.734e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1553, allocations: 106.3 MB / 0.8846 GB, free: 12.7 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4602/0.6155, allocations: 132.4 MB / 1.014 GB, free: 6.391 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001905/0.6158, allocations: 69.02 kB / 1.014 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.006532/0.6223, allocations: 2.061 MB / 1.016 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.6223, allocations: 0 / 1.016 GB, free: 4.648 MB / 0.6355 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.000365/0.6227, allocations: 373.9 kB / 1.016 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.6228, allocations: 8.031 kB / 1.016 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.082e-05/0.6228, allocations: 3.938 kB / 1.016 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.6229, allocations: 174.9 kB / 1.016 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.623, allocations: 4 kB / 1.016 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.623, allocations: 0 / 1.016 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.686e-05/0.623, allocations: 7.5 kB / 1.016 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.529e-05/0.6231, allocations: 37.69 kB / 1.017 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.6231, allocations: 0 / 1.017 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.6231, allocations: 0 / 1.017 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.6231, allocations: 4 kB / 1.017 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003512/0.6235, allocations: 243.8 kB / 1.017 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.775e-05/0.6236, allocations: 32.98 kB / 1.017 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.295e-05/0.6236, allocations: 12.42 kB / 1.017 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005361/0.6241, allocations: 448.6 kB / 1.017 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.6242, allocations: 30.56 kB / 1.017 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.6242, allocations: 0 / 1.017 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001509/0.6243, allocations: 37.27 kB / 1.017 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.468e-05/0.6244, allocations: 55.31 kB / 1.017 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.397e-05/0.6244, allocations: 92.56 kB / 1.017 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.6244, allocations: 25.7 kB / 1.017 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.849e-05/0.6245, allocations: 88.12 kB / 1.018 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.503e-05/0.6245, allocations: 11.88 kB / 1.018 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-06/0.6245, allocations: 3.938 kB / 1.018 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.869e-05/0.6246, allocations: 310.8 kB / 1.018 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.464e-05/0.6246, allocations: 7.5 kB / 1.018 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.184e-05/0.6246, allocations: 4 kB / 1.018 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.546e-05/0.6247, allocations: 3.375 kB / 1.018 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.6247, allocations: 0 / 1.018 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.594e-05/0.6248, allocations: 45.25 kB / 1.018 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.6248, allocations: 8.094 kB / 1.018 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.6248, allocations: 0 / 1.018 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.6248, allocations: 0 / 1.018 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.177e-05/0.6249, allocations: 15.98 kB / 1.018 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.6249, allocations: 3.906 kB / 1.018 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.19e-05/0.625, allocations: 8 kB / 1.018 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.625, allocations: 7.938 kB / 1.018 GB, free: 2.332 MB / 0.6355 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 (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 5.173e-05/0.625, allocations: 101 kB / 1.018 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.31e-05/0.6251, allocations: 3.938 kB / 1.018 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001052/0.6252, allocations: 56.36 kB / 1.018 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.6252, allocations: 0 / 1.018 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.6252, allocations: 4 kB / 1.018 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.6252, allocations: 3.984 kB / 1.018 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001145/0.6253, allocations: 133.5 kB / 1.018 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.6253, allocations: 4.031 kB / 1.018 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.519e-05/0.6254, allocations: 12.86 kB / 1.018 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.6254, allocations: 0 / 1.018 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.72e-06/0.6254, allocations: 0 / 1.018 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.6254, allocations: 3.906 kB / 1.018 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.6254, allocations: 4 kB / 1.018 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001047/0.6255, allocations: 137.1 kB / 1.018 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.07e-05/0.6256, allocations: 89 kB / 1.018 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.6256, allocations: 4 kB / 1.018 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.256e-05/0.6257, allocations: 4 kB / 1.018 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.892e-05/0.6257, allocations: 11.48 kB / 1.018 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.6257, allocations: 0 / 1.018 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.133e-05/0.6258, allocations: 83.48 kB / 1.019 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000243/0.626, allocations: 43.94 kB / 1.019 GB, free: 1.582 MB / 0.6355 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 (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.0003095/0.6263, allocations: 166.4 kB / 1.019 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.43e-05/0.6264, allocations: 11.56 kB / 1.019 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.6264, allocations: 0 / 1.019 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.853e-05/0.6264, allocations: 7.938 kB / 1.019 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001433/0.6266, allocations: 3.562 kB / 1.019 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001773/0.6268, allocations: 63.69 kB / 1.019 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000253/0.627, allocations: 0.6915 MB / 1.02 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of SimCode: time 2.3e-07/0.6271, allocations: 4.125 kB / 1.02 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of Templates: time 0.00247/0.6295, allocations: 0.811 MB / 1.02 GB, free: 15.79 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Examples_BesselY0.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches