Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0",fileNamePrefix="Buildings_10_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_10_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.001714/0.001714, allocations: 109.3 kB / 16.41 MB, free: 6.512 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.001449/0.001449, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.482/1.482, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.596/2.596, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001621/0.001621, allocations: 71.89 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9541/0.9557, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.002008/0.9577, allocations: 0.5885 MB / 1.168 GB, free: 3.266 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0005745/0.9583, allocations: 183.4 kB / 1.168 GB, free: 3.086 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.767e-05/0.9584, allocations: 0 / 1.168 GB, free: 3.086 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.629e-05/0.9584, allocations: 3.938 kB / 1.168 GB, free: 3.082 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.702e-06/0.9584, allocations: 0 / 1.168 GB, free: 3.082 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004314/0.9589, allocations: 55.88 kB / 1.168 GB, free: 3.027 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 4.987e-05/0.9589, allocations: 0 / 1.168 GB, free: 3.027 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.148e-05/0.959, allocations: 3.938 kB / 1.168 GB, free: 3.023 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.528e-05/0.959, allocations: 0 / 1.168 GB, free: 3.023 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 2.21e-05/0.959, allocations: 4 kB / 1.168 GB, free: 3.02 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 7.634e-06/0.959, allocations: 0 / 1.168 GB, free: 3.02 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001969/0.9592, allocations: 59.92 kB / 1.168 GB, free: 2.961 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 9.939e-06/0.9593, allocations: 4 kB / 1.168 GB, free: 2.957 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.026e-05/0.9593, allocations: 0 / 1.168 GB, free: 2.957 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.9594, allocations: 31.89 kB / 1.168 GB, free: 2.926 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.9594, allocations: 4 kB / 1.168 GB, free: 2.922 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.546e-06/0.9595, allocations: 0 / 1.168 GB, free: 2.922 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.348e-06/0.9595, allocations: 3.938 kB / 1.168 GB, free: 2.918 MB / 0.8887 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.0004356/0.9599, allocations: 315.6 kB / 1.169 GB, free: 2.559 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.96, allocations: 8.922 kB / 1.169 GB, free: 2.551 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.829e-05/0.96, allocations: 4.922 kB / 1.169 GB, free: 2.547 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.9602, allocations: 160.4 kB / 1.169 GB, free: 2.352 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.9602, allocations: 8.375 kB / 1.169 GB, free: 2.344 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.313e-06/0.9602, allocations: 384 / 1.169 GB, free: 2.344 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.853e-05/0.9603, allocations: 26.27 kB / 1.169 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.9603, allocations: 192 / 1.169 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.9603, allocations: 3.938 kB / 1.169 GB, free: 2.309 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.9603, allocations: 3.938 kB / 1.169 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.145e-05/0.9604, allocations: 4 kB / 1.169 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001579/0.9605, allocations: 153.7 kB / 1.169 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.146e-05/0.9606, allocations: 30.55 kB / 1.169 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.823e-05/0.9606, allocations: 4.859 kB / 1.169 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007644/0.9614, allocations: 445.5 kB / 1.169 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.9614, allocations: 46.55 kB / 1.169 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.863e-06/0.9614, allocations: 0 / 1.169 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001442/0.9616, allocations: 37.58 kB / 1.169 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.507e-05/0.9616, allocations: 51.41 kB / 1.17 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.069e-05/0.9617, allocations: 89.86 kB / 1.17 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.9617, allocations: 25.7 kB / 1.17 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.809e-05/0.9617, allocations: 82.61 kB / 1.17 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.871e-05/0.9617, allocations: 0 / 1.17 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.068e-05/0.9618, allocations: 13.72 kB / 1.17 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.9619, allocations: 319 kB / 1.17 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.165e-05/0.9619, allocations: 0 / 1.17 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.348e-06/0.9619, allocations: 7.984 kB / 1.17 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.57e-05/0.962, allocations: 4.859 kB / 1.17 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.962, allocations: 0 / 1.17 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.519e-05/0.9621, allocations: 41.55 kB / 1.17 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.9621, allocations: 4 kB / 1.17 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.9621, allocations: 4.031 kB / 1.17 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.738e-05/0.9621, allocations: 11.92 kB / 1.17 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.224e-05/0.9622, allocations: 4 kB / 1.17 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.9622, allocations: 0 / 1.17 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.068e-05/0.9622, allocations: 0 / 1.17 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.9622, allocations: 0 / 1.17 GB, free: 0.7305 MB / 0.8887 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 0.0001048/0.9623, allocations: 113.8 kB / 1.17 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.847e-06/0.9623, allocations: 0 / 1.17 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.042e-05/0.9624, allocations: 32.83 kB / 1.17 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.9625, allocations: 11.97 kB / 1.17 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.9625, allocations: 0 / 1.17 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 4.751e-05/0.9625, allocations: 81.09 kB / 1.17 GB, free: 468 kB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.094e-05/0.9625, allocations: 0 / 1.17 GB, free: 468 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.085e-06/0.9625, allocations: 0 / 1.17 GB, free: 468 kB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.35e-05/0.9626, allocations: 3.938 kB / 1.17 GB, free: 464 kB / 0.8887 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.428e-05/0.9626, allocations: 109 kB / 1.17 GB, free: 348 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001314/0.9628, allocations: 214.8 kB / 1.171 GB, free: 116 kB / 0.8887 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.884e-05/0.9628, allocations: 7.938 kB / 1.171 GB, free: 108 kB / 0.8887 GB Notification: Performance of sorting global known variables: time 3.21e-05/0.9628, allocations: 75.28 kB / 1.171 GB, free: 32 kB / 0.8887 GB Notification: Performance of Backend: time 5.11e-07/0.9629, allocations: 0 / 1.171 GB, free: 32 kB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004972/0.9634, allocations: 106.4 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004468/0.9638, allocations: 0.5214 MB / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of Templates: time 0.002936/0.9668, allocations: 438 kB / 1.172 GB, free: 14.92 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches