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.007854/0.007854, allocations: 103.5 kB / 15.73 MB, free: 6.043 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.001472/0.001473, allocations: 189 kB / 16.67 MB, free: 5.961 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.642/2.642, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 59.91 kB / 1.054 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8948/0.8962, allocations: 157.4 MB / 1.208 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001686/0.898, allocations: 0.5771 MB / 1.208 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0004506/0.8984, allocations: 193.3 kB / 1.209 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.338e-05/0.8984, allocations: 0 / 1.209 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.668e-05/0.8985, allocations: 0 / 1.209 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.374e-06/0.8985, allocations: 0 / 1.209 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003823/0.8989, allocations: 55.83 kB / 1.209 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 4.003e-05/0.8989, allocations: 0 / 1.209 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.045e-05/0.899, allocations: 0 / 1.209 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.265e-05/0.899, allocations: 0 / 1.209 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 1.876e-05/0.899, allocations: 0 / 1.209 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.073e-06/0.899, allocations: 4 kB / 1.209 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001619/0.8992, allocations: 63.86 kB / 1.209 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.326e-06/0.8992, allocations: 4 kB / 1.209 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.565e-05/0.8992, allocations: 0 / 1.209 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.8993, allocations: 35.88 kB / 1.209 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.8994, allocations: 0 / 1.209 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.022e-06/0.8994, allocations: 3.938 kB / 1.209 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.8994, allocations: 4 kB / 1.209 GB, free: 12.62 MB / 0.9356 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.0002913/0.8997, allocations: 319.6 kB / 1.209 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.8997, allocations: 8.031 kB / 1.209 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.244e-05/0.8997, allocations: 0.9375 kB / 1.209 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.424e-05/0.8998, allocations: 172.4 kB / 1.209 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.105e-06/0.8998, allocations: 384 / 1.209 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.876e-06/0.8999, allocations: 384 / 1.209 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.722e-05/0.9, allocations: 26.27 kB / 1.209 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.9, allocations: 192 / 1.209 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.9, allocations: 3.938 kB / 1.209 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.9, allocations: 7.938 kB / 1.209 GB, free: 12 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.823e-05/0.9, allocations: 0 / 1.209 GB, free: 12 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001343/0.9002, allocations: 149.7 kB / 1.209 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 3.951e-05/0.9002, allocations: 30.59 kB / 1.209 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.546e-05/0.9002, allocations: 4.859 kB / 1.209 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006688/0.9009, allocations: 449.5 kB / 1.21 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.9009, allocations: 38.56 kB / 1.21 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.153e-06/0.9009, allocations: 0 / 1.21 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001203/0.9011, allocations: 41.56 kB / 1.21 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.9011, allocations: 51.41 kB / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.498e-05/0.9011, allocations: 89.86 kB / 1.21 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.9012, allocations: 25.7 kB / 1.21 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.485e-05/0.9012, allocations: 80.14 kB / 1.21 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.146e-05/0.9012, allocations: 8 kB / 1.21 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.512e-05/0.9013, allocations: 9.844 kB / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.936e-05/0.9014, allocations: 314.8 kB / 1.21 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.095e-06/0.9014, allocations: 0 / 1.21 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.893e-06/0.9014, allocations: 4 kB / 1.21 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.184e-05/0.9014, allocations: 12.78 kB / 1.21 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.9014, allocations: 0 / 1.21 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.018e-05/0.9015, allocations: 49.55 kB / 1.21 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.9015, allocations: 4 kB / 1.21 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.9015, allocations: 4.094 kB / 1.21 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.9015, allocations: 3.938 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.899e-05/0.9016, allocations: 4 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.9016, allocations: 0 / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.286e-06/0.9016, allocations: 0 / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-06/0.9016, allocations: 0 / 1.211 GB, free: 10.43 MB / 0.9356 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 7.801e-05/0.9017, allocations: 109.8 kB / 1.211 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.452e-06/0.9017, allocations: 0 / 1.211 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.377e-05/0.9018, allocations: 44.7 kB / 1.211 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.9018, allocations: 7.969 kB / 1.211 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.9018, allocations: 0 / 1.211 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.9018, allocations: 0 / 1.211 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.67e-05/0.9019, allocations: 149.7 kB / 1.211 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.9019, allocations: 0 / 1.211 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.31e-05/0.9019, allocations: 4 kB / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.9019, allocations: 0 / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.455e-06/0.9019, allocations: 3.938 kB / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.9019, allocations: 0 / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.902, allocations: 0 / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.718e-05/0.902, allocations: 65.12 kB / 1.211 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.041e-05/0.9021, allocations: 81.05 kB / 1.211 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.888e-06/0.9021, allocations: 3.938 kB / 1.211 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.512e-06/0.9021, allocations: 0 / 1.211 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.349e-05/0.9021, allocations: 0 / 1.211 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/0.9021, allocations: 0 / 1.211 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.284e-05/0.9022, allocations: 75.28 kB / 1.211 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9022, allocations: 0 / 1.211 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001894/0.9024, allocations: 16.03 kB / 1.211 GB, free: 9.777 MB / 0.9356 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.0001895/0.9026, allocations: 119.2 kB / 1.211 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 6.155e-05/0.9027, allocations: 4 kB / 1.211 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.9027, allocations: 0 / 1.211 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.5e-06/0.9027, allocations: 4.062 kB / 1.211 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000123/0.9028, allocations: 4 kB / 1.211 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002098/0.903, allocations: 88.8 kB / 1.211 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.9033, allocations: 0.669 MB / 1.212 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.736e-06/0.9033, allocations: 0 / 1.212 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.106e-05/0.9033, allocations: 11.44 kB / 1.212 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.9033, allocations: 0 / 1.212 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of Templates: time 0.002106/0.9055, allocations: 412.4 kB / 1.212 GB, free: 8.418 MB / 0.9356 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/jenkins/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