Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009865/0.0009866, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 184.2 kB / 16.92 MB, free: 6.684 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.345/1.345, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.717/2.717, allocations: 462.7 MB / 0.7371 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003869/0.0003869, allocations: 12.91 kB / 0.9034 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3424, allocations: 159.6 MB / 1.059 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.00166/0.3441, allocations: 1.163 MB / 1.06 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0005568/0.3447, allocations: 247.4 kB / 1.061 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.14e-05/0.3448, allocations: 0 / 1.061 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.351e-05/0.3448, allocations: 0 / 1.061 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.081e-05/0.3448, allocations: 7.922 kB / 1.061 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002925/0.3451, allocations: 39.91 kB / 1.061 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.141e-05/0.3452, allocations: 19.92 kB / 1.061 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.242e-05/0.3453, allocations: 12 kB / 1.061 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.768e-05/0.3453, allocations: 7.938 kB / 1.061 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.471e-05/0.3454, allocations: 15.92 kB / 1.061 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.3454, allocations: 3.984 kB / 1.061 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001505/0.3455, allocations: 63.88 kB / 1.061 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.128e-05/0.3456, allocations: 4 kB / 1.061 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.643e-05/0.3456, allocations: 33.64 kB / 1.061 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.3457, allocations: 35.92 kB / 1.061 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3457, allocations: 0 / 1.061 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3457, allocations: 0 / 1.061 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.3458, allocations: 4 kB / 1.061 GB, free: 3.328 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005066/0.3463, allocations: 351.7 kB / 1.061 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.3463, allocations: 11.97 kB / 1.061 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.743e-05/0.3463, allocations: 0.9375 kB / 1.061 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.3465, allocations: 168.3 kB / 1.061 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.3465, allocations: 384 / 1.061 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-06/0.3465, allocations: 4.375 kB / 1.061 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.3467, allocations: 54.23 kB / 1.061 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.3467, allocations: 4.125 kB / 1.061 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.3467, allocations: 7.938 kB / 1.061 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3467, allocations: 0 / 1.061 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001783/0.3469, allocations: 51.89 kB / 1.062 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003186/0.3472, allocations: 241 kB / 1.062 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.3474, allocations: 50.48 kB / 1.062 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.32e-05/0.3475, allocations: 28.91 kB / 1.062 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006378/0.3481, allocations: 449.5 kB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.3482, allocations: 34.56 kB / 1.062 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3482, allocations: 3.938 kB / 1.062 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003781/0.3486, allocations: 97.73 kB / 1.062 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.3486, allocations: 55.34 kB / 1.062 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.726e-05/0.3487, allocations: 105.8 kB / 1.063 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.3487, allocations: 25.7 kB / 1.063 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.128e-05/0.3488, allocations: 80.14 kB / 1.063 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-05/0.3488, allocations: 7.906 kB / 1.063 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.286e-05/0.3488, allocations: 9.719 kB / 1.063 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.3489, allocations: 318.8 kB / 1.063 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.803e-05/0.349, allocations: 24.02 kB / 1.063 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.855e-05/0.3491, allocations: 19.98 kB / 1.063 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.3493, allocations: 56.81 kB / 1.063 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3493, allocations: 0 / 1.063 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002112/0.3495, allocations: 77.61 kB / 1.063 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.3495, allocations: 4 kB / 1.063 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3495, allocations: 0 / 1.063 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.3496, allocations: 4 kB / 1.063 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.356e-05/0.3496, allocations: 11.98 kB / 1.063 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.3497, allocations: 0 / 1.063 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.073e-05/0.3497, allocations: 11.98 kB / 1.063 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.3497, allocations: 4 kB / 1.063 GB, free: 0.6836 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 (2): * Single equations (assignments): 2 * 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.178e-05/0.3498, allocations: 113.8 kB / 1.063 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.3498, allocations: 3.906 kB / 1.063 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002351/0.3501, allocations: 84.72 kB / 1.063 GB, free: 484 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.3501, allocations: 4.219 kB / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.3501, allocations: 0 / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.3501, allocations: 7.984 kB / 1.063 GB, free: 472 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.3503, allocations: 161.6 kB / 1.064 GB, free: 260 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3503, allocations: 0 / 1.064 GB, free: 260 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.171e-05/0.3504, allocations: 11.98 kB / 1.064 GB, free: 248 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.3504, allocations: 0 / 1.064 GB, free: 248 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.3504, allocations: 0 / 1.064 GB, free: 248 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.3504, allocations: 4 kB / 1.064 GB, free: 244 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3504, allocations: 3.938 kB / 1.064 GB, free: 240 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.3507, allocations: 183.4 kB / 1.064 GB, free: 40 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.347e-05/0.3507, allocations: 81.05 kB / 1.064 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.3507, allocations: 0 / 1.064 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.106e-05/0.3508, allocations: 16.02 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.841e-05/0.3509, allocations: 3.938 kB / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.3509, allocations: 0 / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.875e-05/0.3509, allocations: 79.28 kB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.6e-07/0.3509, allocations: 0 / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002324/0.3511, allocations: 15.98 kB / 1.064 GB, free: 15.83 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 (2): * Single equations (assignments): 2 * 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.0002059/0.3514, allocations: 119.2 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002139/0.3516, allocations: 47.95 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.3516, allocations: 4.062 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.919e-05/0.3517, allocations: 23.92 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.3519, allocations: 14.47 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002684/0.3522, allocations: 138.3 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003759/0.3526, allocations: 0.6771 MB / 1.065 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.704e-05/0.3526, allocations: 11.42 kB / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.3526, allocations: 0 / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of Templates: time 0.002238/0.3549, allocations: 0.7603 MB / 1.066 GB, free: 13.97 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches