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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001401/0.001402, allocations: 107.1 kB / 15.99 MB, free: 6.352 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.00151/0.00151, allocations: 195.6 kB / 16.91 MB, free: 6.188 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.423/1.423, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.586/2.586, allocations: 469.4 MB / 0.7423 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 68.3 kB / 0.9083 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3208, allocations: 159.1 MB / 1.064 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.00188/0.3228, allocations: 0.6387 MB / 1.064 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000434/0.3232, allocations: 191.4 kB / 1.065 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.081e-05/0.3233, allocations: 0 / 1.065 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.718e-05/0.3233, allocations: 0 / 1.065 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.319e-06/0.3233, allocations: 0 / 1.065 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003903/0.3237, allocations: 43.89 kB / 1.065 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 3.198e-05/0.3237, allocations: 0 / 1.065 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.39e-05/0.3238, allocations: 4 kB / 1.065 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.274e-05/0.3238, allocations: 0 / 1.065 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.105e-05/0.3238, allocations: 3.938 kB / 1.065 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.532e-06/0.3239, allocations: 0 / 1.065 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001661/0.324, allocations: 71.81 kB / 1.065 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 6.332e-06/0.324, allocations: 4 kB / 1.065 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.281e-05/0.3241, allocations: 4 kB / 1.065 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 8.28e-05/0.3242, allocations: 19.95 kB / 1.065 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.034e-06/0.3242, allocations: 4 kB / 1.065 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3242, allocations: 0 / 1.065 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.3242, allocations: 0 / 1.065 GB, free: 14.39 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002726/0.3245, allocations: 315.6 kB / 1.065 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.3245, allocations: 8.625 kB / 1.065 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.3245, allocations: 8.938 kB / 1.065 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.627e-05/0.3246, allocations: 164.4 kB / 1.065 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.3247, allocations: 384 / 1.065 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.3247, allocations: 384 / 1.065 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.338e-05/0.3248, allocations: 34.19 kB / 1.065 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.091e-06/0.3248, allocations: 192 / 1.065 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.3248, allocations: 7.938 kB / 1.065 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.3248, allocations: 0 / 1.065 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.61e-05/0.3248, allocations: 0 / 1.065 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001247/0.3249, allocations: 141.7 kB / 1.065 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 3.638e-05/0.325, allocations: 26.61 kB / 1.065 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.774e-05/0.325, allocations: 8.797 kB / 1.065 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007181/0.3257, allocations: 453.5 kB / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.3258, allocations: 34.56 kB / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.3258, allocations: 0 / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0001245/0.3259, allocations: 37.64 kB / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.3259, allocations: 51.41 kB / 1.066 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.254e-05/0.326, allocations: 89.86 kB / 1.066 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.326, allocations: 29.64 kB / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 2.288e-05/0.326, allocations: 84.12 kB / 1.066 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/0.3261, allocations: 4 kB / 1.066 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.641e-05/0.3261, allocations: 9.844 kB / 1.066 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.446e-05/0.3262, allocations: 318.8 kB / 1.066 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.638e-06/0.3262, allocations: 3.938 kB / 1.066 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.77e-06/0.3262, allocations: 4 kB / 1.066 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.31e-05/0.3263, allocations: 4.859 kB / 1.066 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3263, allocations: 4 kB / 1.066 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.626e-05/0.3263, allocations: 33.69 kB / 1.066 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.3263, allocations: 4 kB / 1.066 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3263, allocations: 4.094 kB / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.3264, allocations: 3.938 kB / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.971e-05/0.3264, allocations: 4 kB / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.3264, allocations: 0 / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.699e-06/0.3264, allocations: 3.938 kB / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.3264, allocations: 0 / 1.067 GB, free: 12.21 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 (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.298e-05/0.3265, allocations: 113.8 kB / 1.067 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.608e-06/0.3265, allocations: 7.984 kB / 1.067 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.311e-05/0.3266, allocations: 44.75 kB / 1.067 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3266, allocations: 0 / 1.067 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3266, allocations: 0 / 1.067 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-06/0.3266, allocations: 0 / 1.067 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.221e-05/0.3267, allocations: 145.6 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.3267, allocations: 4 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.485e-05/0.3267, allocations: 4 kB / 1.067 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.3267, allocations: 3.984 kB / 1.067 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.3268, allocations: 3.938 kB / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3268, allocations: 0 / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3268, allocations: 0 / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.339e-05/0.3268, allocations: 65.11 kB / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 2.704e-05/0.3269, allocations: 77.11 kB / 1.067 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.3269, allocations: 7.922 kB / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.504e-06/0.3269, allocations: 0 / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.656e-06/0.3269, allocations: 0 / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.3269, allocations: 0 / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 2.457e-05/0.327, allocations: 83.22 kB / 1.067 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.327, allocations: 4.031 kB / 1.067 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002123/0.3272, allocations: 12 kB / 1.067 GB, free: 11.54 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 (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.0001879/0.3274, allocations: 119.2 kB / 1.067 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 7.478e-05/0.3274, allocations: 4 kB / 1.067 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3275, allocations: 0 / 1.067 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.888e-06/0.3275, allocations: 8 kB / 1.067 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001257/0.3276, allocations: 4 kB / 1.067 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001785/0.3278, allocations: 106.6 kB / 1.067 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002029/0.328, allocations: 0.6729 MB / 1.068 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.426e-05/0.328, allocations: 11.44 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.328, allocations: 0 / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of Templates: time 0.00178/0.3298, allocations: 0.5582 MB / 1.069 GB, free: 9.992 MB / 0.8419 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches