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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001643/0.001643, allocations: 102.1 kB / 16.35 MB, free: 5.828 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.00192/0.00192, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.544/2.544, allocations: 442.5 MB / 0.7165 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 68.23 kB / 0.8773 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2828, allocations: 153 MB / 1.027 GB, free: 2.02 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001762/0.2847, allocations: 0.5938 MB / 1.027 GB, free: 1.422 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0004212/0.2851, allocations: 181.8 kB / 1.027 GB, free: 1.246 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.131e-05/0.2851, allocations: 4 kB / 1.027 GB, free: 1.242 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.336e-05/0.2851, allocations: 0 / 1.027 GB, free: 1.242 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.35e-06/0.2852, allocations: 0 / 1.027 GB, free: 1.242 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003762/0.2855, allocations: 59.81 kB / 1.028 GB, free: 1.184 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 4.106e-05/0.2856, allocations: 4 kB / 1.028 GB, free: 1.18 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.061e-05/0.2856, allocations: 0 / 1.028 GB, free: 1.18 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.448e-05/0.2857, allocations: 0 / 1.028 GB, free: 1.18 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 2.166e-05/0.2857, allocations: 7.938 kB / 1.028 GB, free: 1.172 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 7.765e-06/0.2857, allocations: 0 / 1.028 GB, free: 1.172 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001669/0.2859, allocations: 59.86 kB / 1.028 GB, free: 1.113 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.865e-06/0.2859, allocations: 4 kB / 1.028 GB, free: 1.109 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.842e-05/0.2859, allocations: 4 kB / 1.028 GB, free: 1.105 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001115/0.286, allocations: 31.95 kB / 1.028 GB, free: 1.074 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.286, allocations: 4 kB / 1.028 GB, free: 1.07 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.833e-06/0.286, allocations: 0 / 1.028 GB, free: 1.07 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.286, allocations: 0 / 1.028 GB, free: 1.07 MB / 0.795 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.0003024/0.2864, allocations: 312.8 kB / 1.028 GB, free: 0.7148 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.2864, allocations: 8.031 kB / 1.028 GB, free: 0.707 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.617e-05/0.2864, allocations: 8.938 kB / 1.028 GB, free: 0.6992 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.474e-05/0.2865, allocations: 164.4 kB / 1.028 GB, free: 0.5 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.2866, allocations: 4.375 kB / 1.028 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-06/0.2866, allocations: 4.375 kB / 1.028 GB, free: 0.4922 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.177e-05/0.2867, allocations: 26.27 kB / 1.028 GB, free: 472 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.2867, allocations: 192 / 1.028 GB, free: 472 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.2867, allocations: 7.938 kB / 1.028 GB, free: 464 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.2867, allocations: 3.938 kB / 1.028 GB, free: 460 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.675e-05/0.2867, allocations: 0 / 1.028 GB, free: 460 kB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001416/0.2869, allocations: 149.7 kB / 1.028 GB, free: 260 kB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 4.215e-05/0.2869, allocations: 30.59 kB / 1.028 GB, free: 220 kB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.352e-05/0.2869, allocations: 4.859 kB / 1.028 GB, free: 212 kB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006662/0.2876, allocations: 453.5 kB / 1.029 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.2877, allocations: 30.56 kB / 1.029 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.312e-06/0.2877, allocations: 7.938 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001258/0.2878, allocations: 45.5 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.2878, allocations: 51.41 kB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.397e-05/0.2879, allocations: 89.86 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.457e-06/0.2879, allocations: 25.7 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.604e-05/0.2879, allocations: 80.14 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.288, allocations: 4 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.492e-05/0.288, allocations: 9.719 kB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.178e-05/0.2881, allocations: 319 kB / 1.029 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.646e-06/0.2881, allocations: 0 / 1.029 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.512e-06/0.2881, allocations: 7.984 kB / 1.029 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.122e-05/0.2881, allocations: 8.797 kB / 1.029 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2881, allocations: 4 kB / 1.029 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.36e-05/0.2882, allocations: 29.7 kB / 1.029 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.2882, allocations: 4 kB / 1.029 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.2882, allocations: 96 / 1.029 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.2882, allocations: 7.938 kB / 1.029 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.533e-05/0.2883, allocations: 4 kB / 1.029 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.2883, allocations: 3.984 kB / 1.029 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.157e-06/0.2883, allocations: 0 / 1.029 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-06/0.2883, allocations: 0 / 1.029 GB, free: 14.88 MB / 0.8106 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.015e-05/0.2884, allocations: 117.8 kB / 1.03 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.564e-06/0.2884, allocations: 4 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.966e-05/0.2885, allocations: 40.7 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.2885, allocations: 4.031 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.2885, allocations: 0 / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.2885, allocations: 0 / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.153e-05/0.2886, allocations: 145.7 kB / 1.03 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.2886, allocations: 0 / 1.03 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.295e-05/0.2886, allocations: 4 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.2886, allocations: 0 / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.575e-06/0.2886, allocations: 3.938 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.2886, allocations: 0 / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2886, allocations: 4 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.63e-05/0.2887, allocations: 65.12 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.398e-05/0.2888, allocations: 84.95 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.004e-05/0.2888, allocations: 7.875 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.602e-06/0.2888, allocations: 0 / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.007e-06/0.2888, allocations: 0 / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.2888, allocations: 0 / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.219e-05/0.2888, allocations: 83.22 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.2888, allocations: 0 / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001906/0.289, allocations: 12.03 kB / 1.03 GB, free: 14.21 MB / 0.8106 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.0001983/0.2892, allocations: 123.2 kB / 1.03 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.676e-05/0.2893, allocations: 4 kB / 1.03 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2893, allocations: 0 / 1.03 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.991e-06/0.2893, allocations: 4.062 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001218/0.2895, allocations: 4 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001567/0.2896, allocations: 85 kB / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002029/0.2898, allocations: 0.669 MB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.115e-05/0.2899, allocations: 4 kB / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.238e-05/0.2899, allocations: 7.438 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of SimCode: time 2.8e-07/0.2899, allocations: 0 / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of Templates: time 0.002251/0.2921, allocations: 400.5 kB / 1.031 GB, free: 12.86 MB / 0.8106 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 -s gbode -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