Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.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.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.923/1.923, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.001029/0.001029, allocations: 177.3 kB / 487 MB, free: 5.359 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.316/1.316, allocations: 221.3 MB / 0.7819 GB, free: 1.352 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.0009795/0.0009794, allocations: 105.4 kB / 0.9213 GB, free: 2.59 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.325e-06/8.345e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2798, allocations: 142.3 MB / 1.205 GB, free: 26.21 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6505/0.9304, allocations: 148.9 MB / 1.351 GB, free: 16.04 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001844/0.9306, allocations: 68.41 kB / 1.351 GB, free: 16.04 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.006563/0.9372, allocations: 2.083 MB / 1.353 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.9372, allocations: 3.625 kB / 1.353 GB, free: 15.92 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003099/0.9375, allocations: 357.1 kB / 1.353 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.9376, allocations: 13.09 kB / 1.353 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.63e-05/0.9376, allocations: 5.609 kB / 1.353 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.489e-05/0.9377, allocations: 162.8 kB / 1.353 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.9377, allocations: 0 / 1.353 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.105e-06/0.9377, allocations: 1.844 kB / 1.353 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.979e-05/0.9378, allocations: 13.58 kB / 1.353 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.956e-05/0.9378, allocations: 36.7 kB / 1.353 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.141e-06/0.9379, allocations: 4.906 kB / 1.353 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.9379, allocations: 3.906 kB / 1.353 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.9379, allocations: 1.766 kB / 1.353 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003113/0.9382, allocations: 244.1 kB / 1.354 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.638e-05/0.9382, allocations: 24.88 kB / 1.354 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.268e-05/0.9383, allocations: 11.89 kB / 1.354 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004768/0.9387, allocations: 451.8 kB / 1.354 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.235e-05/0.9388, allocations: 35.28 kB / 1.354 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.9388, allocations: 0 / 1.354 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001477/0.9389, allocations: 38.42 kB / 1.354 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.491e-05/0.939, allocations: 53.86 kB / 1.354 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.953e-05/0.939, allocations: 92.19 kB / 1.354 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.424e-06/0.939, allocations: 29.73 kB / 1.354 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.672e-05/0.939, allocations: 82.06 kB / 1.354 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.417e-05/0.9391, allocations: 13.83 kB / 1.354 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-06/0.9391, allocations: 0 / 1.354 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.452e-05/0.9391, allocations: 311.9 kB / 1.355 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.345e-05/0.9391, allocations: 7.094 kB / 1.355 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.299e-05/0.9391, allocations: 6.875 kB / 1.355 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.833e-05/0.9392, allocations: 8.156 kB / 1.355 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.9392, allocations: 4.062 kB / 1.355 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.213e-05/0.9393, allocations: 44.05 kB / 1.355 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.9393, allocations: 6.703 kB / 1.355 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.9393, allocations: 0 / 1.355 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.347e-06/0.9393, allocations: 0.75 kB / 1.355 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.473e-05/0.9394, allocations: 12.23 kB / 1.355 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.367e-06/0.9394, allocations: 0 / 1.355 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.592e-05/0.9395, allocations: 14.5 kB / 1.355 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.9395, allocations: 0.75 kB / 1.355 GB, free: 13.85 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 (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 3.46e-05/0.9395, allocations: 109.7 kB / 1.355 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/0.9395, allocations: 0.9688 kB / 1.355 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.9397, allocations: 52.8 kB / 1.355 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.9397, allocations: 2.781 kB / 1.355 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.9397, allocations: 4.75 kB / 1.355 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.9397, allocations: 0.9688 kB / 1.355 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.687e-05/0.9398, allocations: 135.4 kB / 1.355 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.9398, allocations: 0 / 1.355 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.94e-05/0.9399, allocations: 20.52 kB / 1.355 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.9399, allocations: 1.125 kB / 1.355 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.9399, allocations: 0 / 1.355 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.9399, allocations: 1.156 kB / 1.355 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.9399, allocations: 4 kB / 1.355 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.307e-05/0.94, allocations: 136.9 kB / 1.355 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.539e-05/0.94, allocations: 78.23 kB / 1.355 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.94, allocations: 1.906 kB / 1.355 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.692e-05/0.9401, allocations: 8.375 kB / 1.355 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.92e-05/0.9401, allocations: 6.656 kB / 1.355 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.9402, allocations: 1.094 kB / 1.355 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.818e-05/0.9402, allocations: 91.56 kB / 1.355 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000256/0.9404, allocations: 38.42 kB / 1.355 GB, free: 13.21 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 (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.0003164/0.9408, allocations: 161.8 kB / 1.356 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.541e-05/0.9408, allocations: 12.06 kB / 1.356 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.9408, allocations: 0.6562 kB / 1.356 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.071e-05/0.9409, allocations: 9.344 kB / 1.356 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000144/0.941, allocations: 1.656 kB / 1.356 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001669/0.9412, allocations: 68.19 kB / 1.356 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.9413, allocations: 0.6886 MB / 1.356 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of SimCode: time 2.3e-07/0.9413, allocations: 0 / 1.356 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of Templates: time 0.002962/0.9443, allocations: 0.812 MB / 1.357 GB, free: 12.26 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselY0.csv","../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches