Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001759/0.001759, allocations: 102 kB / 16.27 MB, free: 5.906 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.001954/0.001954, allocations: 191.9 kB / 17.2 MB, free: 5.539 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.346/1.346, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.621/2.621, allocations: 469.4 MB / 0.7427 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 64.78 kB / 0.9088 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3373, allocations: 159.1 MB / 1.064 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002807/0.3401, allocations: 1.43 MB / 1.066 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0005491/0.3407, allocations: 247.2 kB / 1.066 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.368e-05/0.3407, allocations: 3.938 kB / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.448e-05/0.3408, allocations: 0 / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.73e-05/0.3409, allocations: 7.938 kB / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003784/0.3412, allocations: 55.83 kB / 1.066 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.056e-05/0.3413, allocations: 19.98 kB / 1.066 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.653e-05/0.3414, allocations: 7.984 kB / 1.066 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.051e-05/0.3415, allocations: 12 kB / 1.066 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.842e-05/0.3415, allocations: 11.92 kB / 1.066 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.398e-06/0.3415, allocations: 3.938 kB / 1.066 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000162/0.3417, allocations: 59.94 kB / 1.066 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.203e-05/0.3417, allocations: 4 kB / 1.066 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.598e-05/0.3417, allocations: 7.938 kB / 1.066 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.3419, allocations: 51.86 kB / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3419, allocations: 0 / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.512e-06/0.3419, allocations: 0 / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.3419, allocations: 0 / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004498/0.3424, allocations: 351.8 kB / 1.066 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.3424, allocations: 12.56 kB / 1.066 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.614e-05/0.3425, allocations: 8.844 kB / 1.066 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.3426, allocations: 160.4 kB / 1.067 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.3426, allocations: 384 / 1.067 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.3426, allocations: 4.375 kB / 1.067 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.3428, allocations: 46.23 kB / 1.067 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.3428, allocations: 192 / 1.067 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.3428, allocations: 7.938 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.3428, allocations: 4 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001688/0.343, allocations: 31.95 kB / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003134/0.3433, allocations: 244.9 kB / 1.067 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.3435, allocations: 38.5 kB / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.909e-05/0.3436, allocations: 32.89 kB / 1.067 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000654/0.3442, allocations: 445.5 kB / 1.067 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.3443, allocations: 38.56 kB / 1.067 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 2.204e-06/0.3443, allocations: 4 kB / 1.067 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.000362/0.3446, allocations: 81.48 kB / 1.068 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/0.3447, allocations: 55.41 kB / 1.068 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.477e-05/0.3448, allocations: 105.8 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.3448, allocations: 25.7 kB / 1.068 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.099e-05/0.3448, allocations: 84.14 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.3449, allocations: 16.02 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.253e-05/0.3449, allocations: 13.66 kB / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.38e-05/0.345, allocations: 314.8 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.554e-05/0.3451, allocations: 19.98 kB / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.277e-05/0.3452, allocations: 11.98 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.3453, allocations: 48.83 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.3453, allocations: 3.984 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002159/0.3456, allocations: 65.55 kB / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.3456, allocations: 8 kB / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3456, allocations: 0 / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.3456, allocations: 0 / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.28e-05/0.3457, allocations: 7.984 kB / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.3457, allocations: 4.031 kB / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.555e-05/0.3458, allocations: 7.984 kB / 1.068 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.3458, allocations: 4 kB / 1.068 GB, free: 10.51 MB / 0.8419 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 (2): * Single equations (assignments): 2 * 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.733e-05/0.3458, allocations: 110.3 kB / 1.068 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.394e-05/0.3459, allocations: 0 / 1.068 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002216/0.3461, allocations: 76.72 kB / 1.068 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3461, allocations: 0 / 1.068 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3461, allocations: 8.031 kB / 1.068 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3461, allocations: 0 / 1.068 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.3463, allocations: 161.6 kB / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3463, allocations: 0 / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.829e-05/0.3464, allocations: 11.98 kB / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3464, allocations: 0 / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.3464, allocations: 0 / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3464, allocations: 0 / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3464, allocations: 0 / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.3466, allocations: 167.5 kB / 1.069 GB, free: 9.902 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.858e-05/0.3467, allocations: 88.95 kB / 1.069 GB, free: 9.797 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.3467, allocations: 0 / 1.069 GB, free: 9.797 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.552e-05/0.3468, allocations: 7.984 kB / 1.069 GB, free: 9.789 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/0.3468, allocations: 3.938 kB / 1.069 GB, free: 9.785 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-06/0.3468, allocations: 0 / 1.069 GB, free: 9.785 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.91e-05/0.3469, allocations: 87.31 kB / 1.069 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3469, allocations: 0 / 1.069 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002393/0.3471, allocations: 16 kB / 1.069 GB, free: 9.684 MB / 0.8419 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 (2): * Single equations (assignments): 2 * 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.0001889/0.3473, allocations: 115.2 kB / 1.069 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002167/0.3475, allocations: 39.95 kB / 1.069 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.3475, allocations: 4 kB / 1.069 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.537e-05/0.3476, allocations: 23.92 kB / 1.069 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.3479, allocations: 7.875 kB / 1.069 GB, free: 9.484 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002848/0.3482, allocations: 139.1 kB / 1.069 GB, free: 9.316 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002057/0.3484, allocations: 0.6808 MB / 1.07 GB, free: 8.609 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.134e-05/0.3484, allocations: 7.438 kB / 1.07 GB, free: 8.605 MB / 0.8419 GB Notification: Performance of SimCode: time 4.31e-07/0.3484, allocations: 0 / 1.07 GB, free: 8.605 MB / 0.8419 GB Notification: Performance of Templates: time 0.002203/0.3506, allocations: 0.77 MB / 1.071 GB, free: 7.836 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches