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.364/2.364, allocations: 390.3 MB / 402.8 MB, free: 6.727 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.001486/0.001486, allocations: 180.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.614/1.614, allocations: 221.3 MB / 0.7915 GB, free: 5.406 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.0009546/0.0009546, allocations: 91.53 kB / 0.9317 GB, free: 5.719 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.457e-05/3.46e-05, allocations: 8 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.2991, allocations: 143 MB / 1.219 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8979/1.197, allocations: 149.4 MB / 1.365 GB, free: 4.613 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002076/1.197, allocations: 71.14 kB / 1.365 GB, free: 4.57 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00321/1.2, allocations: 1.248 MB / 1.366 GB, free: 3.488 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.262e-06/1.201, allocations: 0 / 1.366 GB, free: 3.488 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.724e-06/1.201, allocations: 0 / 1.366 GB, free: 3.488 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.0002398/1.201, allocations: 326.5 kB / 1.366 GB, free: 3.125 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/1.201, allocations: 8.031 kB / 1.366 GB, free: 3.117 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.349e-05/1.201, allocations: 0 / 1.366 GB, free: 3.117 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.386e-05/1.201, allocations: 166.3 kB / 1.366 GB, free: 2.918 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.114e-06/1.201, allocations: 7.875 kB / 1.366 GB, free: 2.91 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/1.201, allocations: 4 kB / 1.366 GB, free: 2.906 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.279e-05/1.201, allocations: 25.7 kB / 1.366 GB, free: 2.875 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.571e-06/1.201, allocations: 0 / 1.366 GB, free: 2.875 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/1.201, allocations: 0 / 1.366 GB, free: 2.875 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/1.201, allocations: 3.938 kB / 1.366 GB, free: 2.871 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.005e-05/1.201, allocations: 15.97 kB / 1.366 GB, free: 2.855 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001268/1.201, allocations: 149.1 kB / 1.367 GB, free: 2.664 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 2.88e-05/1.201, allocations: 18.52 kB / 1.367 GB, free: 2.637 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.508e-05/1.201, allocations: 8.953 kB / 1.367 GB, free: 2.625 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005296/1.202, allocations: 444.4 kB / 1.367 GB, free: 2.102 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/1.202, allocations: 30.56 kB / 1.367 GB, free: 2.062 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/1.202, allocations: 0 / 1.367 GB, free: 2.062 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 0.0001195/1.202, allocations: 29.7 kB / 1.367 GB, free: 2.027 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/1.202, allocations: 55.39 kB / 1.367 GB, free: 1.961 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.926e-05/1.202, allocations: 88.12 kB / 1.367 GB, free: 1.871 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/1.202, allocations: 25.7 kB / 1.367 GB, free: 1.84 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.382e-05/1.202, allocations: 84.17 kB / 1.367 GB, free: 1.754 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.792e-05/1.202, allocations: 4.625 kB / 1.367 GB, free: 1.75 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.114e-06/1.202, allocations: 0 / 1.367 GB, free: 1.75 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001027/1.202, allocations: 310.8 kB / 1.368 GB, free: 1.438 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.208e-06/1.202, allocations: 3.938 kB / 1.368 GB, free: 1.434 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.187e-06/1.202, allocations: 0 / 1.368 GB, free: 1.434 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.873e-05/1.202, allocations: 7.953 kB / 1.368 GB, free: 1.426 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/1.202, allocations: 0 / 1.368 GB, free: 1.426 MB / 0.823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.726e-05/1.202, allocations: 37.27 kB / 1.368 GB, free: 1.387 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/1.202, allocations: 4 kB / 1.368 GB, free: 1.383 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/1.202, allocations: 0 / 1.368 GB, free: 1.383 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/1.202, allocations: 7.984 kB / 1.368 GB, free: 1.375 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.716e-05/1.202, allocations: 0 / 1.368 GB, free: 1.375 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/1.202, allocations: 0 / 1.368 GB, free: 1.375 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.728e-06/1.203, allocations: 3.625 kB / 1.368 GB, free: 1.375 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/1.203, allocations: 0 / 1.368 GB, free: 1.375 MB / 0.823 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 5.658e-05/1.203, allocations: 108.9 kB / 1.368 GB, free: 1.262 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.36e-06/1.203, allocations: 32 / 1.368 GB, free: 1.262 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.702e-05/1.203, allocations: 48.66 kB / 1.368 GB, free: 1.211 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/1.203, allocations: 3.938 kB / 1.368 GB, free: 1.207 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/1.203, allocations: 0 / 1.368 GB, free: 1.207 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/1.203, allocations: 0 / 1.368 GB, free: 1.207 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.002e-05/1.203, allocations: 148.8 kB / 1.368 GB, free: 1.016 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/1.203, allocations: 7.953 kB / 1.368 GB, free: 1.008 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.005e-05/1.203, allocations: 0 / 1.368 GB, free: 1.008 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/1.203, allocations: 0 / 1.368 GB, free: 1.008 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.358e-06/1.203, allocations: 0 / 1.368 GB, free: 1.008 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/1.203, allocations: 0.625 kB / 1.368 GB, free: 1.008 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/1.203, allocations: 4.031 kB / 1.368 GB, free: 1.004 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.142e-05/1.203, allocations: 64.12 kB / 1.368 GB, free: 0.9258 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.045e-05/1.203, allocations: 85 kB / 1.368 GB, free: 0.8242 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.388e-06/1.203, allocations: 0 / 1.368 GB, free: 0.8242 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.412e-06/1.203, allocations: 0 / 1.368 GB, free: 0.8242 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.359e-05/1.203, allocations: 4 kB / 1.368 GB, free: 0.8203 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-06/1.203, allocations: 3.984 kB / 1.368 GB, free: 0.8164 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.374e-05/1.203, allocations: 79.31 kB / 1.368 GB, free: 0.7383 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.31e-07/1.203, allocations: 0 / 1.368 GB, free: 0.7383 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001982/1.203, allocations: 19.94 kB / 1.368 GB, free: 0.7188 MB / 0.823 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.0002296/1.203, allocations: 127.2 kB / 1.368 GB, free: 0.582 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 5.093e-05/1.204, allocations: 11.19 kB / 1.368 GB, free: 0.5742 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/1.204, allocations: 0 / 1.368 GB, free: 0.5742 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 8.907e-06/1.204, allocations: 7.938 kB / 1.368 GB, free: 0.5664 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.476e-05/1.204, allocations: 0.5156 kB / 1.368 GB, free: 0.5664 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001333/1.204, allocations: 41.06 kB / 1.368 GB, free: 0.5039 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002327/1.204, allocations: 0.677 MB / 1.369 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.06e-05/1.204, allocations: 3.938 kB / 1.369 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.165e-05/1.204, allocations: 7.562 kB / 1.369 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.204, allocations: 4 kB / 1.369 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of Templates: time 0.002024/1.206, allocations: 386.4 kB / 1.37 GB, free: 15.42 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