Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001549/0.001549, allocations: 106.1 kB / 15.98 MB, free: 5.891 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.001455/0.001455, allocations: 196.4 kB / 16.91 MB, free: 5.746 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.433/1.433, allocations: 222.9 MB / 240.6 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.918/2.918, allocations: 469.8 MB / 0.7427 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001992, allocations: 78.38 kB / 0.9087 GB, free: 34.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3522, allocations: 159.2 MB / 1.064 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.002041/0.3542, allocations: 0.6434 MB / 1.065 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005005/0.3548, allocations: 191.4 kB / 1.065 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.064e-05/0.3548, allocations: 0 / 1.065 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.553e-05/0.3548, allocations: 0 / 1.065 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.18e-06/0.3549, allocations: 0 / 1.065 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000403/0.3553, allocations: 43.89 kB / 1.065 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 3.486e-05/0.3553, allocations: 4 kB / 1.065 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.87e-05/0.3554, allocations: 4 kB / 1.065 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.22e-05/0.3554, allocations: 0 / 1.065 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.178e-05/0.3554, allocations: 3.938 kB / 1.065 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.973e-06/0.3554, allocations: 0 / 1.065 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002069/0.3556, allocations: 71.86 kB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.081e-05/0.3557, allocations: 0 / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.105e-05/0.3557, allocations: 0 / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001064/0.3558, allocations: 19.97 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 1.037e-05/0.3558, allocations: 4 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.176e-06/0.3558, allocations: 0 / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.3558, allocations: 0 / 1.065 GB, free: 13.57 MB / 0.8262 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.0005082/0.3563, allocations: 313.1 kB / 1.065 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.371e-05/0.3564, allocations: 12.02 kB / 1.065 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.06e-05/0.3565, allocations: 8.938 kB / 1.065 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.3566, allocations: 162.2 kB / 1.066 GB, free: 13 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.3567, allocations: 384 / 1.066 GB, free: 13 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.3567, allocations: 4.375 kB / 1.066 GB, free: 13 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.3568, allocations: 30.2 kB / 1.066 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.3569, allocations: 192 / 1.066 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.3569, allocations: 7.938 kB / 1.066 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.3569, allocations: 0 / 1.066 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.237e-05/0.3569, allocations: 0 / 1.066 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002377/0.3572, allocations: 153.7 kB / 1.066 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.522e-05/0.3572, allocations: 18.61 kB / 1.066 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.384e-05/0.3573, allocations: 12.8 kB / 1.066 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001072/0.3583, allocations: 453.5 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.034e-05/0.3584, allocations: 38.55 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.3584, allocations: 0 / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0002075/0.3586, allocations: 37.64 kB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/0.3587, allocations: 55.34 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.58e-05/0.3588, allocations: 89.86 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.3588, allocations: 25.7 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.738e-05/0.3589, allocations: 80.14 kB / 1.067 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.483e-05/0.3589, allocations: 7.984 kB / 1.067 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.871e-05/0.359, allocations: 13.84 kB / 1.067 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002824/0.3592, allocations: 310.8 kB / 1.067 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.782e-05/0.3593, allocations: 3.984 kB / 1.067 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.165e-05/0.3593, allocations: 7.938 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.452e-05/0.3593, allocations: 8.859 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3593, allocations: 4 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.278e-05/0.3594, allocations: 29.7 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.3594, allocations: 9.031 kB / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.3595, allocations: 0 / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.3595, allocations: 3.938 kB / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.013e-05/0.3595, allocations: 4 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.3595, allocations: 0 / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.194e-05/0.3596, allocations: 0 / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.3596, allocations: 7.969 kB / 1.067 GB, free: 11.39 MB / 0.8262 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 0.000109/0.3597, allocations: 105.8 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.5e-05/0.3597, allocations: 4 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.76e-05/0.3598, allocations: 48.7 kB / 1.067 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.3598, allocations: 0 / 1.067 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.3598, allocations: 0 / 1.067 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3599, allocations: 0 / 1.067 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/0.36, allocations: 149.6 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.36, allocations: 0 / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.796e-05/0.36, allocations: 4 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3601, allocations: 0 / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.3601, allocations: 3.938 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3601, allocations: 0 / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3601, allocations: 32 / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.696e-05/0.3602, allocations: 73.05 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.127e-05/0.3603, allocations: 77.11 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.3603, allocations: 3.938 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.411e-05/0.3603, allocations: 4 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.194e-05/0.3603, allocations: 3.938 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.3603, allocations: 3.938 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.734e-05/0.3604, allocations: 83.31 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3604, allocations: 0 / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002468/0.3606, allocations: 15.98 kB / 1.067 GB, free: 10.72 MB / 0.8262 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.0002807/0.3609, allocations: 111.2 kB / 1.068 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.607e-05/0.361, allocations: 8 kB / 1.068 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.361, allocations: 4.062 kB / 1.068 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.314e-05/0.361, allocations: 7.922 kB / 1.068 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001558/0.3612, allocations: 4 kB / 1.068 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002489/0.3615, allocations: 103.1 kB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004116/0.3619, allocations: 0.6729 MB / 1.068 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.961e-05/0.3619, allocations: 7.438 kB / 1.068 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of SimCode: time 6.11e-07/0.3619, allocations: 0 / 1.068 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of Templates: time 0.002652/0.3646, allocations: 0.5504 MB / 1.069 GB, free: 9.184 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches