Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY1.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.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.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 7.0.3-maint.7.0.x/package.mo): time 1.188/1.188, allocations: 249.4 MB / 256.7 MB, free: 0.625 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001065/0.001065, allocations: 191.2 kB / 316 MB, free: 8.859 MB / 258.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.053/1.053, allocations: 205.1 MB / 0.5667 GB, free: 13.37 MB / 434.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008094/0.0008094, allocations: 84.08 kB / 0.671 GB, free: 51.56 MB / 498.8 MB Notification: Performance of FrontEnd - loaded program: time 6.422e-06/6.432e-06, allocations: 0 / 0.7807 GB, free: 9.91 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4629/0.4629, allocations: 106.3 MB / 0.8846 GB, free: 89.29 MB / 0.6433 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1511/0.6141, allocations: 131.4 MB / 1.013 GB, free: 14.28 MB / 0.6589 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/0.6144, allocations: 68.53 kB / 1.013 GB, free: 14.21 MB / 0.6589 GB Notification: Performance of FrontEnd: time 0.007297/0.6217, allocations: 2.139 MB / 1.015 GB, free: 12.15 MB / 0.6589 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.6217, allocations: 0.75 kB / 1.015 GB, free: 12.15 MB / 0.6589 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.0003581/0.6221, allocations: 364.9 kB / 1.015 GB, free: 11.75 MB / 0.6589 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.6221, allocations: 12.03 kB / 1.015 GB, free: 11.74 MB / 0.6589 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.454e-05/0.6222, allocations: 0.5 kB / 1.015 GB, free: 11.74 MB / 0.6589 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.6223, allocations: 169.5 kB / 1.016 GB, free: 11.54 MB / 0.6589 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.6223, allocations: 4 kB / 1.016 GB, free: 11.54 MB / 0.6589 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.424e-06/0.6223, allocations: 0 / 1.016 GB, free: 11.54 MB / 0.6589 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.461e-05/0.6224, allocations: 8 kB / 1.016 GB, free: 11.53 MB / 0.6589 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.202e-05/0.6225, allocations: 34.42 kB / 1.016 GB, free: 11.49 MB / 0.6589 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.6225, allocations: 9.594 kB / 1.016 GB, free: 11.48 MB / 0.6589 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.6225, allocations: 0 / 1.016 GB, free: 11.48 MB / 0.6589 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.6225, allocations: 0 / 1.016 GB, free: 11.48 MB / 0.6589 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004189/0.6229, allocations: 256.4 kB / 1.016 GB, free: 11.2 MB / 0.6589 GB Notification: Performance of preOpt comSubExp (simulation): time 4.487e-05/0.623, allocations: 22.58 kB / 1.016 GB, free: 11.17 MB / 0.6589 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.453e-05/0.623, allocations: 8.922 kB / 1.016 GB, free: 11.16 MB / 0.6589 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000614/0.6236, allocations: 461.5 kB / 1.016 GB, free: 10.61 MB / 0.6589 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.6237, allocations: 34.56 kB / 1.016 GB, free: 10.57 MB / 0.6589 GB Notification: Performance of pre-optimization done (n=2): time 1.041e-06/0.6237, allocations: 0 / 1.016 GB, free: 10.57 MB / 0.6589 GB Notification: Performance of matching and sorting (n=2): time 0.0001864/0.6239, allocations: 48.25 kB / 1.016 GB, free: 10.52 MB / 0.6589 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.522e-05/0.6239, allocations: 55.31 kB / 1.016 GB, free: 10.45 MB / 0.6589 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.845e-05/0.624, allocations: 93 kB / 1.017 GB, free: 10.36 MB / 0.6589 GB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.624, allocations: 25.7 kB / 1.017 GB, free: 10.32 MB / 0.6589 GB Notification: Performance of collectInitialEqns (initialization): time 4.162e-05/0.624, allocations: 92.02 kB / 1.017 GB, free: 10.23 MB / 0.6589 GB Notification: Performance of collectInitialBindings (initialization): time 1.437e-05/0.6241, allocations: 3.906 kB / 1.017 GB, free: 10.23 MB / 0.6589 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-06/0.6241, allocations: 0 / 1.017 GB, free: 10.23 MB / 0.6589 GB Notification: Performance of setup shared object (initialization): time 9.532e-05/0.6242, allocations: 318.9 kB / 1.017 GB, free: 9.906 MB / 0.6589 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.503e-05/0.6242, allocations: 8 kB / 1.017 GB, free: 9.898 MB / 0.6589 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.086e-05/0.6242, allocations: 4 kB / 1.017 GB, free: 9.895 MB / 0.6589 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.686e-05/0.6242, allocations: 4 kB / 1.017 GB, free: 9.891 MB / 0.6589 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.6242, allocations: 0 / 1.017 GB, free: 9.891 MB / 0.6589 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.59e-05/0.6243, allocations: 41.64 kB / 1.017 GB, free: 9.844 MB / 0.6589 GB Notification: Performance of prepare postOptimizeDAE: time 9.227e-06/0.6243, allocations: 4 kB / 1.017 GB, free: 9.84 MB / 0.6589 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.6243, allocations: 0 / 1.017 GB, free: 9.84 MB / 0.6589 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.6244, allocations: 10.89 kB / 1.017 GB, free: 9.832 MB / 0.6589 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.817e-05/0.6245, allocations: 8 kB / 1.017 GB, free: 9.824 MB / 0.6589 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.6245, allocations: 9.312 kB / 1.017 GB, free: 9.816 MB / 0.6589 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.256e-05/0.6245, allocations: 7.984 kB / 1.017 GB, free: 9.809 MB / 0.6589 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.6246, allocations: 0 / 1.017 GB, free: 9.809 MB / 0.6589 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.576e-05/0.6246, allocations: 113 kB / 1.017 GB, free: 9.691 MB / 0.6589 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.6246, allocations: 0 / 1.017 GB, free: 9.691 MB / 0.6589 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001031/0.6247, allocations: 51.78 kB / 1.017 GB, free: 9.641 MB / 0.6589 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.6248, allocations: 0 / 1.017 GB, free: 9.641 MB / 0.6589 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.237e-06/0.6248, allocations: 0 / 1.017 GB, free: 9.641 MB / 0.6589 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.6248, allocations: 4 kB / 1.017 GB, free: 9.637 MB / 0.6589 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.6249, allocations: 134.2 kB / 1.017 GB, free: 9.469 MB / 0.6589 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.6249, allocations: 3.984 kB / 1.017 GB, free: 9.465 MB / 0.6589 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.721e-05/0.625, allocations: 18.22 kB / 1.017 GB, free: 9.449 MB / 0.6589 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.625, allocations: 0 / 1.017 GB, free: 9.449 MB / 0.6589 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.625, allocations: 0 / 1.017 GB, free: 9.449 MB / 0.6589 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.237e-06/0.625, allocations: 3.906 kB / 1.017 GB, free: 9.445 MB / 0.6589 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.625, allocations: 0 / 1.017 GB, free: 9.445 MB / 0.6589 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001108/0.6251, allocations: 135.5 kB / 1.017 GB, free: 9.297 MB / 0.6589 GB Notification: Performance of postOpt removeConstants (simulation): time 2.895e-05/0.6252, allocations: 85.05 kB / 1.018 GB, free: 9.195 MB / 0.6589 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.6252, allocations: 0.875 kB / 1.018 GB, free: 9.195 MB / 0.6589 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.643e-05/0.6253, allocations: 11.98 kB / 1.018 GB, free: 9.184 MB / 0.6589 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.899e-05/0.6253, allocations: 0 / 1.018 GB, free: 9.184 MB / 0.6589 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-06/0.6253, allocations: 4 kB / 1.018 GB, free: 9.18 MB / 0.6589 GB Notification: Performance of sort global known variables: time 3.908e-05/0.6254, allocations: 83.27 kB / 1.018 GB, free: 9.098 MB / 0.6589 GB Notification: Performance of remove unused functions: time 0.0002425/0.6256, allocations: 43.88 kB / 1.018 GB, free: 9.055 MB / 0.6589 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.0003255/0.6259, allocations: 165.2 kB / 1.018 GB, free: 8.883 MB / 0.6589 GB Notification: Performance of simCode: created initialization part: time 6.476e-05/0.626, allocations: 16 kB / 1.018 GB, free: 8.867 MB / 0.6589 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.626, allocations: 0 / 1.018 GB, free: 8.867 MB / 0.6589 GB Notification: Performance of simCode: created simulation system equations: time 1.919e-05/0.6261, allocations: 8 kB / 1.018 GB, free: 8.859 MB / 0.6589 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000149/0.6262, allocations: 10.34 kB / 1.018 GB, free: 8.855 MB / 0.6589 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000193/0.6264, allocations: 67.62 kB / 1.018 GB, free: 8.766 MB / 0.6589 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002434/0.6267, allocations: 0.688 MB / 1.019 GB, free: 8.051 MB / 0.6589 GB Notification: Performance of SimCode: time 2.51e-07/0.6267, allocations: 5.031 kB / 1.019 GB, free: 8.047 MB / 0.6589 GB Notification: Performance of Templates: time 0.002621/0.6293, allocations: 0.8319 MB / 1.019 GB, free: 7.246 MB / 0.6589 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY1.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY1.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Examples_BesselY1.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches