Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.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.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.196/2.196, allocations: 390.5 MB / 398 MB, free: 10.94 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.001275/0.001275, allocations: 168.9 kB / 491.2 MB, free: 1.574 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.598/1.598, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.0009375/0.0009377, allocations: 103.8 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.541e-05/3.551e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2895, allocations: 143 MB / 1.212 GB, free: 39.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.92/1.21, allocations: 148.7 MB / 1.358 GB, free: 17.61 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/1.21, allocations: 80.84 kB / 1.358 GB, free: 17.61 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003697/1.214, allocations: 1.237 MB / 1.359 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.623e-06/1.214, allocations: 0 / 1.359 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.879e-06/1.214, allocations: 0 / 1.359 GB, free: 33.25 MB / 0.8386 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.0002173/1.214, allocations: 325.6 kB / 1.359 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/1.214, allocations: 11.56 kB / 1.359 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.56e-05/1.214, allocations: 1.5 kB / 1.359 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.792e-05/1.214, allocations: 167 kB / 1.359 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/1.214, allocations: 0 / 1.359 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/1.214, allocations: 0 / 1.359 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.557e-05/1.214, allocations: 5.312 kB / 1.359 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.009e-05/1.214, allocations: 29.67 kB / 1.359 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/1.214, allocations: 3.938 kB / 1.359 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/1.214, allocations: 0 / 1.359 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/1.214, allocations: 1.453 kB / 1.359 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.998e-05/1.214, allocations: 129.8 kB / 1.36 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.001e-05/1.214, allocations: 20.05 kB / 1.36 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.538e-05/1.214, allocations: 8.859 kB / 1.36 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004516/1.215, allocations: 438.4 kB / 1.36 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/1.215, allocations: 35.78 kB / 1.36 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/1.215, allocations: 0 / 1.36 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001329/1.215, allocations: 29.61 kB / 1.36 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.797e-05/1.215, allocations: 61.62 kB / 1.36 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.572e-05/1.215, allocations: 85 kB / 1.36 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.901e-06/1.215, allocations: 25.7 kB / 1.36 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.003e-05/1.215, allocations: 80.14 kB / 1.36 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/1.215, allocations: 0.625 kB / 1.36 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.873e-06/1.215, allocations: 0 / 1.36 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.223e-05/1.215, allocations: 314.2 kB / 1.361 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.326e-06/1.215, allocations: 5.359 kB / 1.361 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.626e-06/1.215, allocations: 7.938 kB / 1.361 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.756e-05/1.215, allocations: 0 / 1.361 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/1.215, allocations: 0 / 1.361 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.512e-05/1.215, allocations: 35.12 kB / 1.361 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/1.215, allocations: 7.75 kB / 1.361 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/1.215, allocations: 0 / 1.361 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/1.215, allocations: 0 / 1.361 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.613e-05/1.215, allocations: 1.984 kB / 1.361 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/1.215, allocations: 3.906 kB / 1.361 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.278e-06/1.215, allocations: 4.094 kB / 1.361 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/1.215, allocations: 0 / 1.361 GB, free: 31.29 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 4.949e-05/1.216, allocations: 104.9 kB / 1.361 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.575e-06/1.216, allocations: 9.406 kB / 1.361 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.713e-05/1.216, allocations: 44.97 kB / 1.361 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/1.216, allocations: 0 / 1.361 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/1.216, allocations: 0 / 1.361 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/1.216, allocations: 3.938 kB / 1.361 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.245e-05/1.216, allocations: 124.2 kB / 1.361 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/1.216, allocations: 4.031 kB / 1.361 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.205e-05/1.216, allocations: 1.688 kB / 1.361 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/1.216, allocations: 0 / 1.361 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.909e-06/1.216, allocations: 7.859 kB / 1.361 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/1.216, allocations: 0 / 1.361 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/1.216, allocations: 0 / 1.361 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.484e-05/1.216, allocations: 54.48 kB / 1.361 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.788e-05/1.216, allocations: 82.64 kB / 1.361 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.039e-05/1.216, allocations: 7.938 kB / 1.361 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.344e-06/1.216, allocations: 3.953 kB / 1.361 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.406e-06/1.216, allocations: 3.312 kB / 1.361 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-06/1.216, allocations: 1.219 kB / 1.361 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.287e-05/1.216, allocations: 75.28 kB / 1.361 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.216, allocations: 0 / 1.361 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002165/1.216, allocations: 21.3 kB / 1.361 GB, free: 30.72 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.0001927/1.216, allocations: 129.5 kB / 1.361 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.061e-05/1.216, allocations: 3.531 kB / 1.361 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/1.216, allocations: 0 / 1.361 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.03e-06/1.216, allocations: 7.906 kB / 1.361 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.117e-05/1.216, allocations: 0.6562 kB / 1.361 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001201/1.217, allocations: 50.78 kB / 1.361 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/1.217, allocations: 0.671 MB / 1.362 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.36e-05/1.217, allocations: 4.938 kB / 1.362 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.018e-05/1.217, allocations: 15.92 kB / 1.362 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.217, allocations: 0 / 1.362 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of Templates: time 0.00197/1.219, allocations: 367.3 kB / 1.362 GB, free: 29.79 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches