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.0009269/0.0009266, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.001027/0.001028, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.167/3.167, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000441/0.0004411, allocations: 20.28 kB / 0.9021 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3946/0.3951, allocations: 159.6 MB / 1.058 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.0009779/0.3961, allocations: 322.8 kB / 1.058 GB, free: 5 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006179/0.3968, allocations: 171.6 kB / 1.058 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.246e-05/0.3968, allocations: 0 / 1.058 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.409e-05/0.3969, allocations: 0 / 1.058 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.041e-06/0.3969, allocations: 0 / 1.058 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004496/0.3973, allocations: 47.83 kB / 1.059 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.413e-05/0.3974, allocations: 0 / 1.059 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.662e-05/0.3975, allocations: 0 / 1.059 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.295e-05/0.3975, allocations: 0 / 1.059 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.997e-05/0.3976, allocations: 4 kB / 1.059 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.999e-06/0.3976, allocations: 0 / 1.059 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002458/0.3978, allocations: 67.88 kB / 1.059 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.867e-06/0.3978, allocations: 0 / 1.059 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.508e-05/0.3979, allocations: 25.7 kB / 1.059 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001093/0.398, allocations: 27.95 kB / 1.059 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.398, allocations: 0 / 1.059 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.523e-06/0.398, allocations: 0 / 1.059 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.398, allocations: 0 / 1.059 GB, free: 4.656 MB / 0.8106 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.0003374/0.3984, allocations: 315.3 kB / 1.059 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/0.3985, allocations: 12.03 kB / 1.059 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.68e-05/0.3985, allocations: 3.984 kB / 1.059 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.3986, allocations: 167.1 kB / 1.059 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.3987, allocations: 3.938 kB / 1.059 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.3987, allocations: 3.953 kB / 1.059 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.3988, allocations: 25.7 kB / 1.059 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.3988, allocations: 4 kB / 1.059 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.3988, allocations: 0 / 1.059 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.3989, allocations: 0 / 1.059 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.66e-05/0.3989, allocations: 0 / 1.059 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001814/0.3991, allocations: 153.6 kB / 1.059 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.719e-05/0.3991, allocations: 26.55 kB / 1.059 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.971e-05/0.3992, allocations: 4.859 kB / 1.059 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009715/0.4001, allocations: 457.5 kB / 1.06 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.878e-05/0.4002, allocations: 34.56 kB / 1.06 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.954e-06/0.4002, allocations: 0 / 1.06 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001704/0.4004, allocations: 33.69 kB / 1.06 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.4004, allocations: 55.41 kB / 1.06 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.661e-05/0.4005, allocations: 89.86 kB / 1.06 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.4005, allocations: 29.7 kB / 1.06 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.837e-05/0.4006, allocations: 80.14 kB / 1.06 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.4006, allocations: 0 / 1.06 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.474e-06/0.4006, allocations: 3.938 kB / 1.06 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.4008, allocations: 315 kB / 1.06 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.748e-06/0.4008, allocations: 0 / 1.06 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.957e-06/0.4008, allocations: 4 kB / 1.06 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.379e-05/0.4008, allocations: 0 / 1.06 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4008, allocations: 0 / 1.06 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.149e-05/0.4009, allocations: 37.62 kB / 1.06 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.401, allocations: 11.95 kB / 1.06 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.401, allocations: 0 / 1.06 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.401, allocations: 4.094 kB / 1.06 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.581e-05/0.4011, allocations: 0 / 1.06 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.4011, allocations: 3.984 kB / 1.06 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.45e-05/0.4011, allocations: 0 / 1.06 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.4011, allocations: 4 kB / 1.06 GB, free: 2.504 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.542e-05/0.4012, allocations: 109.8 kB / 1.061 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.157e-05/0.4012, allocations: 0 / 1.061 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.4013, allocations: 48.7 kB / 1.061 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.4014, allocations: 0 / 1.061 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.4014, allocations: 4.031 kB / 1.061 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.4014, allocations: 4 kB / 1.061 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/0.4015, allocations: 145.7 kB / 1.061 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.4015, allocations: 0 / 1.061 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.943e-05/0.4016, allocations: 4 kB / 1.061 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.4016, allocations: 0 / 1.061 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.4016, allocations: 7.938 kB / 1.061 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.89e-06/0.4016, allocations: 3.953 kB / 1.061 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4016, allocations: 0 / 1.061 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.135e-05/0.4017, allocations: 57.08 kB / 1.061 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.323e-05/0.4018, allocations: 81.09 kB / 1.061 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.4018, allocations: 4 kB / 1.061 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.142e-05/0.4018, allocations: 0 / 1.061 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.907e-05/0.4018, allocations: 3.953 kB / 1.061 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.4018, allocations: 0 / 1.061 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001229/0.402, allocations: 79.28 kB / 1.061 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.71e-07/0.402, allocations: 0 / 1.061 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003515/0.4023, allocations: 16.03 kB / 1.061 GB, free: 1.848 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002773/0.4026, allocations: 115.2 kB / 1.061 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.845e-05/0.4027, allocations: 4 kB / 1.061 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4027, allocations: 0 / 1.061 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.642e-05/0.4028, allocations: 7.938 kB / 1.061 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.403, allocations: 4.125 kB / 1.061 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002252/0.4032, allocations: 78.66 kB / 1.061 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.4035, allocations: 0.677 MB / 1.062 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.565e-05/0.4036, allocations: 0 / 1.062 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.879e-05/0.4036, allocations: 11.44 kB / 1.062 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of SimCode: time 8.32e-07/0.4036, allocations: 0 / 1.062 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of Templates: time 0.003859/0.4075, allocations: 395.8 kB / 1.062 GB, free: 0.5 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 -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