Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.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.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1") [: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.957/1.957, 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.0009717/0.0009717, allocations: 188.6 kB / 487 MB, free: 5.406 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.341/1.341, allocations: 221.3 MB / 0.7819 GB, free: 1.387 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.001536/0.001536, allocations: 102 kB / 0.9213 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 9.658e-06/9.788e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2576, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7316/0.9893, allocations: 147.9 MB / 1.35 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/0.9896, allocations: 71.73 kB / 1.35 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.003328/0.9929, allocations: 0.9642 MB / 1.351 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.9929, allocations: 1.312 kB / 1.351 GB, free: 15.86 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.000216/0.9931, allocations: 323.2 kB / 1.351 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.9932, allocations: 9.5 kB / 1.351 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.669e-05/0.9932, allocations: 0 / 1.351 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.921e-05/0.9933, allocations: 166 kB / 1.351 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.9933, allocations: 0 / 1.351 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.168e-06/0.9933, allocations: 3.906 kB / 1.351 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.587e-05/0.9934, allocations: 0.875 kB / 1.351 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.875e-05/0.9934, allocations: 37.06 kB / 1.351 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.9934, allocations: 3.938 kB / 1.351 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.188e-06/0.9935, allocations: 0.9688 kB / 1.351 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.9935, allocations: 0 / 1.351 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.782e-05/0.9936, allocations: 124.9 kB / 1.351 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.137e-05/0.9936, allocations: 23.77 kB / 1.351 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.658e-05/0.9936, allocations: 6.266 kB / 1.351 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005481/0.9942, allocations: 443.5 kB / 1.352 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.763e-05/0.9942, allocations: 36.09 kB / 1.352 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.9942, allocations: 0 / 1.352 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1): time 0.0001421/0.9944, allocations: 38.19 kB / 1.352 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.947e-05/0.9944, allocations: 52.41 kB / 1.352 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.7e-05/0.9944, allocations: 85 kB / 1.352 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.084e-06/0.9944, allocations: 27.08 kB / 1.352 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.24e-05/0.9944, allocations: 84.08 kB / 1.352 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.9945, allocations: 0 / 1.352 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.264e-06/0.9945, allocations: 32 / 1.352 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.454e-05/0.9945, allocations: 317.5 kB / 1.352 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.653e-06/0.9945, allocations: 0.7812 kB / 1.352 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.709e-06/0.9946, allocations: 1.188 kB / 1.352 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.51e-05/0.9946, allocations: 1.062 kB / 1.352 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.9946, allocations: 0 / 1.352 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.617e-05/0.9947, allocations: 39.55 kB / 1.352 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.9947, allocations: 8.938 kB / 1.352 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.9947, allocations: 0 / 1.352 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.9947, allocations: 4.094 kB / 1.352 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.849e-05/0.9947, allocations: 6.438 kB / 1.352 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.376e-06/0.9947, allocations: 0 / 1.352 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.917e-06/0.9948, allocations: 0 / 1.352 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.9948, allocations: 3 kB / 1.352 GB, free: 13.9 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 4.138e-05/0.9948, allocations: 103.4 kB / 1.353 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.862e-06/0.9948, allocations: 3.906 kB / 1.353 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.005e-05/0.9949, allocations: 39.27 kB / 1.353 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.9949, allocations: 4.906 kB / 1.353 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.9949, allocations: 0 / 1.353 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.9949, allocations: 1.094 kB / 1.353 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.342e-05/0.995, allocations: 125 kB / 1.353 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.995, allocations: 3.938 kB / 1.353 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.144e-05/0.995, allocations: 1.875 kB / 1.353 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.995, allocations: 0 / 1.353 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.995, allocations: 5.094 kB / 1.353 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.995, allocations: 0.8125 kB / 1.353 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.995, allocations: 1.594 kB / 1.353 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.831e-05/0.9951, allocations: 64.08 kB / 1.353 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.469e-05/0.9951, allocations: 77.11 kB / 1.353 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.317e-06/0.9951, allocations: 1.062 kB / 1.353 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.536e-06/0.9952, allocations: 6.203 kB / 1.353 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.867e-06/0.9952, allocations: 0.875 kB / 1.353 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-06/0.9952, allocations: 1.156 kB / 1.353 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.215e-05/0.9952, allocations: 79.22 kB / 1.353 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002228/0.9954, allocations: 27 kB / 1.353 GB, free: 13.33 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.0002578/0.9957, allocations: 137.4 kB / 1.353 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.59e-05/0.9957, allocations: 1.781 kB / 1.353 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.9957, allocations: 0 / 1.353 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.33e-06/0.9958, allocations: 8.797 kB / 1.353 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.032e-05/0.9958, allocations: 0 / 1.353 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001183/0.996, allocations: 44.84 kB / 1.353 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002317/0.9962, allocations: 0.6813 MB / 1.354 GB, free: 28.46 MB / 0.823 GB Notification: Performance of SimCode: time 2.91e-07/0.9962, allocations: 4.125 kB / 1.354 GB, free: 28.46 MB / 0.823 GB Notification: Performance of Templates: time 0.002153/0.9984, allocations: 408 kB / 1.354 GB, free: 28.4 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches