Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_9_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.001672/0.001672, allocations: 114.9 kB / 16.42 MB, free: 6.469 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.001862/0.001862, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.547/1.547, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.382/2.382, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 67.91 kB / 0.9515 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.018/1.02, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002525/1.022, allocations: 1.435 MB / 1.09 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005197/1.023, allocations: 249.6 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.068e-05/1.023, allocations: 0 / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.508e-05/1.023, allocations: 1.031 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.446e-05/1.023, allocations: 8.5 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003439/1.023, allocations: 57.92 kB / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.791e-05/1.023, allocations: 20.58 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.255e-05/1.023, allocations: 4.5 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.923e-05/1.023, allocations: 12.86 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.922e-05/1.024, allocations: 9.406 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.054e-05/1.024, allocations: 1.469 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/1.024, allocations: 57.52 kB / 1.09 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.242e-05/1.024, allocations: 10.23 kB / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.482e-05/1.024, allocations: 15.42 kB / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001451/1.024, allocations: 48.12 kB / 1.09 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/1.024, allocations: 1.719 kB / 1.09 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.292e-06/1.024, allocations: 0 / 1.09 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.378e-06/1.024, allocations: 3.938 kB / 1.09 GB, free: 4.246 MB / 0.8575 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.0003955/1.024, allocations: 344.2 kB / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/1.024, allocations: 8.688 kB / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.404e-05/1.024, allocations: 9.875 kB / 1.091 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.984e-05/1.025, allocations: 168.4 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/1.025, allocations: 4.375 kB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/1.025, allocations: 1.938 kB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/1.025, allocations: 49.36 kB / 1.091 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-06/1.025, allocations: 192 / 1.091 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/1.025, allocations: 9.078 kB / 1.091 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/1.025, allocations: 0 / 1.091 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00018/1.025, allocations: 32.25 kB / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002712/1.025, allocations: 255.6 kB / 1.091 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/1.025, allocations: 40.11 kB / 1.091 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.474e-05/1.025, allocations: 19.7 kB / 1.091 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005504/1.026, allocations: 458 kB / 1.092 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/1.026, allocations: 31.72 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/1.026, allocations: 3.938 kB / 1.092 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003683/1.026, allocations: 84.53 kB / 1.092 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.479e-05/1.026, allocations: 56.25 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.285e-05/1.027, allocations: 96.53 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.908e-06/1.027, allocations: 27.03 kB / 1.092 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.764e-05/1.027, allocations: 89.53 kB / 1.092 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.411e-05/1.027, allocations: 1.391 kB / 1.092 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.846e-05/1.027, allocations: 12.88 kB / 1.092 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.634e-05/1.027, allocations: 316.9 kB / 1.093 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.63e-05/1.027, allocations: 17.86 kB / 1.093 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.671e-05/1.027, allocations: 19.03 kB / 1.093 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/1.027, allocations: 36.52 kB / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/1.027, allocations: 0 / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001874/1.027, allocations: 78.89 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/1.027, allocations: 6.125 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/1.027, allocations: 1.125 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/1.027, allocations: 4 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.143e-05/1.027, allocations: 9.312 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/1.027, allocations: 0 / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.537e-05/1.027, allocations: 7.188 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-06/1.027, allocations: 0 / 1.093 GB, free: 2.055 MB / 0.8575 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 4.61e-05/1.027, allocations: 116.7 kB / 1.093 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.36e-05/1.027, allocations: 5 kB / 1.093 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002146/1.028, allocations: 71.53 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/1.028, allocations: 0.5156 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/1.028, allocations: 5.094 kB / 1.093 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.841e-05/1.028, allocations: 78.77 kB / 1.093 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/1.028, allocations: 0.5625 kB / 1.093 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.498e-05/1.028, allocations: 6.375 kB / 1.093 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.397e-05/1.028, allocations: 11.11 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002186/1.028, allocations: 146.5 kB / 1.093 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002134/1.028, allocations: 246 kB / 1.093 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.866e-05/1.028, allocations: 15.39 kB / 1.093 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.518e-05/1.028, allocations: 83.73 kB / 1.093 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of Backend: time 3.21e-07/1.028, allocations: 0 / 1.093 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004898/1.029, allocations: 120 kB / 1.094 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0003409/1.029, allocations: 0.5497 MB / 1.094 GB, free: 16.71 MB / 0.8731 GB Notification: Performance of Templates: time 0.003432/1.033, allocations: 0.76 MB / 1.095 GB, free: 16.62 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches