Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0",fileNamePrefix="Buildings_10_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_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 109.4 kB / 16.41 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002128/0.002129, allocations: 185.5 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.56/2.56, allocations: 437 MB / 0.7112 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 64.11 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.012/1.013, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001726/1.015, allocations: 0.5828 MB / 1.168 GB, free: 3.27 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0005621/1.015, allocations: 191.3 kB / 1.168 GB, free: 3.082 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.426e-05/1.015, allocations: 0 / 1.168 GB, free: 3.082 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.28e-05/1.015, allocations: 0 / 1.168 GB, free: 3.082 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.333e-06/1.015, allocations: 0 / 1.168 GB, free: 3.082 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004465/1.016, allocations: 51.84 kB / 1.168 GB, free: 3.031 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 4.214e-05/1.016, allocations: 3.984 kB / 1.168 GB, free: 3.027 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.723e-05/1.016, allocations: 4 kB / 1.168 GB, free: 3.023 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.416e-05/1.016, allocations: 0 / 1.168 GB, free: 3.023 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 1.867e-05/1.016, allocations: 0 / 1.168 GB, free: 3.023 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.302e-06/1.016, allocations: 0 / 1.168 GB, free: 3.023 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001647/1.016, allocations: 55.94 kB / 1.168 GB, free: 2.969 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 6.863e-06/1.016, allocations: 4 kB / 1.168 GB, free: 2.965 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.6e-05/1.016, allocations: 3.938 kB / 1.168 GB, free: 2.961 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001186/1.016, allocations: 35.88 kB / 1.168 GB, free: 2.926 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/1.016, allocations: 0 / 1.168 GB, free: 2.926 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.663e-06/1.016, allocations: 4 kB / 1.168 GB, free: 2.922 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.588e-06/1.016, allocations: 0 / 1.168 GB, free: 2.922 MB / 0.8887 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.0003016/1.017, allocations: 319.6 kB / 1.169 GB, free: 2.559 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/1.017, allocations: 12.92 kB / 1.169 GB, free: 2.547 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.645e-05/1.017, allocations: 0.9375 kB / 1.169 GB, free: 2.547 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.764e-05/1.017, allocations: 160.4 kB / 1.169 GB, free: 2.352 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/1.017, allocations: 384 / 1.169 GB, free: 2.352 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.268e-06/1.017, allocations: 384 / 1.169 GB, free: 2.352 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.291e-05/1.017, allocations: 38.2 kB / 1.169 GB, free: 2.309 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/1.017, allocations: 192 / 1.169 GB, free: 2.309 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/1.017, allocations: 3.938 kB / 1.169 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/1.017, allocations: 0 / 1.169 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.188e-05/1.017, allocations: 3.938 kB / 1.169 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001533/1.017, allocations: 153.7 kB / 1.169 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.068e-05/1.017, allocations: 18.58 kB / 1.169 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.678e-05/1.017, allocations: 8.844 kB / 1.169 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007202/1.018, allocations: 461.5 kB / 1.169 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/1.018, allocations: 30.56 kB / 1.169 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/1.018, allocations: 0 / 1.169 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001233/1.018, allocations: 37.58 kB / 1.169 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/1.018, allocations: 59.53 kB / 1.169 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.298e-05/1.018, allocations: 89.86 kB / 1.17 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/1.018, allocations: 25.7 kB / 1.17 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 2.727e-05/1.018, allocations: 82.61 kB / 1.17 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/1.018, allocations: 0 / 1.17 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.727e-05/1.018, allocations: 13.72 kB / 1.17 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001174/1.019, allocations: 318.8 kB / 1.17 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.175e-06/1.019, allocations: 3.938 kB / 1.17 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.003e-06/1.019, allocations: 4 kB / 1.17 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.59e-05/1.019, allocations: 8.859 kB / 1.17 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/1.019, allocations: 4 kB / 1.17 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.97e-05/1.019, allocations: 37.55 kB / 1.17 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/1.019, allocations: 4 kB / 1.17 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/1.019, allocations: 4 kB / 1.17 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/1.019, allocations: 3.938 kB / 1.17 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.814e-05/1.019, allocations: 0 / 1.17 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/1.019, allocations: 3.984 kB / 1.17 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.738e-06/1.019, allocations: 4.094 kB / 1.17 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/1.019, allocations: 4 kB / 1.17 GB, free: 0.7266 MB / 0.8887 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.426e-05/1.019, allocations: 109.8 kB / 1.17 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.102e-06/1.019, allocations: 0 / 1.17 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.69e-05/1.019, allocations: 36.77 kB / 1.17 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/1.019, allocations: 3.938 kB / 1.17 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/1.019, allocations: 0 / 1.17 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/1.019, allocations: 3.984 kB / 1.17 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.704e-05/1.019, allocations: 153.7 kB / 1.17 GB, free: 364 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/1.019, allocations: 0 / 1.17 GB, free: 364 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.199e-05/1.019, allocations: 0 / 1.17 GB, free: 364 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/1.019, allocations: 0 / 1.17 GB, free: 364 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/1.019, allocations: 3.938 kB / 1.17 GB, free: 360 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/1.019, allocations: 3.938 kB / 1.17 GB, free: 356 kB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/1.019, allocations: 4 kB / 1.17 GB, free: 352 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.983e-05/1.019, allocations: 53.12 kB / 1.17 GB, free: 280 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 3.156e-05/1.019, allocations: 81.14 kB / 1.171 GB, free: 180 kB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.07e-05/1.019, allocations: 3.938 kB / 1.171 GB, free: 176 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.043e-06/1.019, allocations: 0 / 1.171 GB, free: 176 kB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.128e-05/1.019, allocations: 8 kB / 1.171 GB, free: 168 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/1.019, allocations: 0 / 1.171 GB, free: 168 kB / 0.8887 GB Notification: Performance of sorting global known variables: time 2.557e-05/1.019, allocations: 75.28 kB / 1.171 GB, free: 92 kB / 0.8887 GB Notification: Performance of sort global known variables: time 1.372e-06/1.019, allocations: 0 / 1.171 GB, free: 92 kB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002161/1.02, allocations: 23.92 kB / 1.171 GB, free: 68 kB / 0.8887 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002139/1.02, allocations: 119.2 kB / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 7.394e-05/1.02, allocations: 11.92 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/1.02, allocations: 0 / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 7.805e-06/1.02, allocations: 4 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000123/1.02, allocations: 0 / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000244/1.02, allocations: 113.6 kB / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/1.02, allocations: 0.669 MB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.387e-05/1.021, allocations: 7.438 kB / 1.172 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of SimCode: time 2.1e-07/1.021, allocations: 0 / 1.172 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of Templates: time 0.001825/1.022, allocations: 0.5581 MB / 1.172 GB, free: 14.52 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches