Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1",fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.043/2.043, allocations: 390.4 MB / 397.7 MB, free: 11.26 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.001159/0.001159, allocations: 169.4 kB / 490.8 MB, free: 1.945 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.291/1.291, allocations: 221.4 MB / 0.7863 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 79.06 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.866e-06/8.897e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.2985, allocations: 143 MB / 1.212 GB, free: 40.09 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7552/1.054, allocations: 149 MB / 1.357 GB, free: 17.3 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001978/1.054, allocations: 76.86 kB / 1.357 GB, free: 17.3 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.006463/1.06, allocations: 1.864 MB / 1.359 GB, free: 17.18 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.301e-06/1.06, allocations: 0 / 1.359 GB, free: 17.18 MB / 0.823 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.0003088/1.061, allocations: 335.9 kB / 1.359 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/1.061, allocations: 8.688 kB / 1.359 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.686e-05/1.061, allocations: 1.156 kB / 1.359 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.587e-05/1.061, allocations: 160.3 kB / 1.36 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/1.061, allocations: 0 / 1.36 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/1.061, allocations: 1.188 kB / 1.36 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.453e-05/1.061, allocations: 9.766 kB / 1.36 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.741e-05/1.061, allocations: 31.7 kB / 1.36 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/1.061, allocations: 0 / 1.36 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/1.061, allocations: 1.531 kB / 1.36 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/1.061, allocations: 0 / 1.36 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001299/1.061, allocations: 127 kB / 1.36 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.516e-05/1.061, allocations: 20.84 kB / 1.36 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.852e-05/1.061, allocations: 6.047 kB / 1.36 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006719/1.062, allocations: 452.9 kB / 1.36 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/1.062, allocations: 38.38 kB / 1.36 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/1.062, allocations: 1 kB / 1.36 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.000194/1.062, allocations: 37.8 kB / 1.36 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/1.062, allocations: 53.09 kB / 1.36 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.7e-05/1.062, allocations: 85 kB / 1.36 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/1.063, allocations: 25.7 kB / 1.36 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.902e-05/1.063, allocations: 81.11 kB / 1.36 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.174e-05/1.063, allocations: 1.172 kB / 1.36 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-06/1.063, allocations: 4.031 kB / 1.36 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001337/1.063, allocations: 312.5 kB / 1.361 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.608e-06/1.063, allocations: 1.094 kB / 1.361 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.254e-06/1.063, allocations: 4 kB / 1.361 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.931e-05/1.063, allocations: 1.766 kB / 1.361 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/1.063, allocations: 3.938 kB / 1.361 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.301e-05/1.063, allocations: 35.97 kB / 1.361 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/1.063, allocations: 9.125 kB / 1.361 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/1.063, allocations: 4.031 kB / 1.361 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/1.063, allocations: 5.891 kB / 1.361 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.931e-05/1.063, allocations: 1.562 kB / 1.361 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/1.063, allocations: 0 / 1.361 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.848e-06/1.063, allocations: 0.9375 kB / 1.361 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/1.063, allocations: 1.516 kB / 1.361 GB, free: 31.21 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 8.103e-05/1.063, allocations: 102.5 kB / 1.361 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.024e-05/1.063, allocations: 5.484 kB / 1.361 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/1.063, allocations: 34.44 kB / 1.361 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-06/1.063, allocations: 4.031 kB / 1.361 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/1.063, allocations: 6.25 kB / 1.361 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/1.063, allocations: 0 / 1.361 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.749e-05/1.063, allocations: 127.5 kB / 1.361 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/1.063, allocations: 0.6094 kB / 1.361 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.158e-05/1.063, allocations: 2.5 kB / 1.361 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/1.063, allocations: 0.5625 kB / 1.361 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/1.063, allocations: 0 / 1.361 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/1.063, allocations: 9.188 kB / 1.361 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/1.063, allocations: 0 / 1.361 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.501e-05/1.063, allocations: 56.81 kB / 1.361 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.101e-05/1.064, allocations: 82.19 kB / 1.361 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/1.064, allocations: 1.594 kB / 1.361 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.134e-06/1.064, allocations: 0 / 1.361 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.269e-05/1.064, allocations: 5.641 kB / 1.361 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-06/1.064, allocations: 0 / 1.361 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.149e-05/1.064, allocations: 75.28 kB / 1.361 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002605/1.064, allocations: 43.08 kB / 1.361 GB, free: 30.64 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.0003645/1.064, allocations: 163.7 kB / 1.361 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.318e-05/1.064, allocations: 15.41 kB / 1.362 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.064, allocations: 0 / 1.362 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.721e-06/1.064, allocations: 2.062 kB / 1.362 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001008/1.064, allocations: 3.656 kB / 1.362 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001606/1.065, allocations: 44.59 kB / 1.362 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002618/1.065, allocations: 0.6819 MB / 1.362 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of SimCode: time 2.11e-07/1.065, allocations: 0 / 1.362 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of Templates: time 0.002673/1.068, allocations: 0.6276 MB / 1.363 GB, free: 29.68 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselY1.csv","../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches