Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.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.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0",fileNamePrefix="Buildings_9_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_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.203/2.203, allocations: 387.1 MB / 399.7 MB, free: 9.504 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.001155/0.001155, allocations: 165 kB / 492.3 MB, free: 0.6133 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.587/1.587, allocations: 221.3 MB / 0.7871 GB, free: 12.88 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.0009495/0.0009494, allocations: 87.45 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.344e-05/3.358e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3293, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.089/1.419, allocations: 148.6 MB / 1.358 GB, free: 18.98 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003516/1.419, allocations: 79.08 kB / 1.358 GB, free: 18.98 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005846/1.425, allocations: 1.244 MB / 1.359 GB, free: 34.62 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.156e-06/1.425, allocations: 0.6094 kB / 1.359 GB, free: 34.62 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.961e-06/1.425, allocations: 0 / 1.359 GB, free: 34.62 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.0002356/1.425, allocations: 322.3 kB / 1.359 GB, free: 34.27 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/1.425, allocations: 12.23 kB / 1.359 GB, free: 34.27 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.221e-05/1.425, allocations: 0 / 1.359 GB, free: 34.27 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.32e-05/1.425, allocations: 164.3 kB / 1.359 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/1.425, allocations: 3.938 kB / 1.359 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/1.425, allocations: 4 kB / 1.359 GB, free: 34.06 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/1.426, allocations: 30.3 kB / 1.359 GB, free: 34.03 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/1.426, allocations: 0 / 1.359 GB, free: 34.03 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/1.426, allocations: 4.609 kB / 1.359 GB, free: 34.03 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/1.426, allocations: 3.984 kB / 1.359 GB, free: 34.03 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.723e-05/1.426, allocations: 0 / 1.359 GB, free: 34.03 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001322/1.426, allocations: 151 kB / 1.359 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.295e-05/1.426, allocations: 22.52 kB / 1.359 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.177e-05/1.426, allocations: 13.42 kB / 1.36 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006415/1.427, allocations: 439.8 kB / 1.36 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/1.427, allocations: 32.64 kB / 1.36 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.753e-06/1.427, allocations: 0 / 1.36 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001346/1.427, allocations: 38.11 kB / 1.36 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/1.427, allocations: 51.41 kB / 1.36 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.917e-05/1.427, allocations: 85 kB / 1.36 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.689e-06/1.427, allocations: 30.14 kB / 1.36 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 1.65e-05/1.427, allocations: 80.14 kB / 1.36 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.332e-05/1.427, allocations: 0.625 kB / 1.36 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-06/1.427, allocations: 0 / 1.36 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.869e-05/1.427, allocations: 311.6 kB / 1.361 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.035e-05/1.427, allocations: 4.031 kB / 1.361 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.294e-06/1.427, allocations: 7.75 kB / 1.361 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.384e-05/1.427, allocations: 0.7031 kB / 1.361 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/1.427, allocations: 0 / 1.361 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.885e-05/1.427, allocations: 42.47 kB / 1.361 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/1.427, allocations: 9.125 kB / 1.361 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/1.427, allocations: 0 / 1.361 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/1.427, allocations: 0.6094 kB / 1.361 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.874e-05/1.427, allocations: 0 / 1.361 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/1.427, allocations: 8.234 kB / 1.361 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.33e-05/1.427, allocations: 0 / 1.361 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/1.427, allocations: 0.7031 kB / 1.361 GB, free: 32.62 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 5.177e-05/1.427, allocations: 102.4 kB / 1.361 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.117e-05/1.427, allocations: 4.562 kB / 1.361 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.688e-05/1.427, allocations: 42.45 kB / 1.361 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/1.428, allocations: 2.562 kB / 1.361 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/1.428, allocations: 0 / 1.361 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/1.428, allocations: 8.672 kB / 1.361 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.253e-05/1.428, allocations: 145.8 kB / 1.361 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/1.428, allocations: 0 / 1.361 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.652e-05/1.428, allocations: 4.531 kB / 1.361 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/1.428, allocations: 3.953 kB / 1.361 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/1.428, allocations: 0.6094 kB / 1.361 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/1.428, allocations: 0 / 1.361 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.428, allocations: 4.641 kB / 1.361 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.515e-05/1.428, allocations: 65.11 kB / 1.361 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.409e-05/1.428, allocations: 77.95 kB / 1.361 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/1.428, allocations: 4.609 kB / 1.361 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.069e-05/1.428, allocations: 0 / 1.361 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.739e-05/1.428, allocations: 0.5156 kB / 1.361 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/1.428, allocations: 3.812 kB / 1.361 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 1.597e-05/1.428, allocations: 78.78 kB / 1.361 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.9e-07/1.428, allocations: 0 / 1.361 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003292/1.428, allocations: 20.77 kB / 1.361 GB, free: 32.02 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.0003163/1.429, allocations: 134.6 kB / 1.361 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.405e-05/1.429, allocations: 4.609 kB / 1.361 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/1.429, allocations: 0 / 1.361 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.696e-06/1.429, allocations: 3.938 kB / 1.361 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001282/1.429, allocations: 7.969 kB / 1.361 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002199/1.429, allocations: 46.5 kB / 1.361 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000421/1.43, allocations: 0.671 MB / 1.362 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.318e-05/1.43, allocations: 3.266 kB / 1.362 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.762e-05/1.43, allocations: 11.28 kB / 1.362 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of SimCode: time 6.72e-07/1.43, allocations: 0 / 1.362 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of Templates: time 0.003326/1.433, allocations: 378.2 kB / 1.362 GB, free: 31.1 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches