Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.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.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 100.1 kB / 15.88 MB, free: 12 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.001701/0.001701, allocations: 199.6 kB / 16.79 MB, free: 6.809 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.349/1.349, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.698/2.698, allocations: 461.8 MB / 0.7348 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001817/0.001817, allocations: 68.11 kB / 0.899 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3511/0.3529, allocations: 157.4 MB / 1.053 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.00246/0.3554, allocations: 0.6542 MB / 1.053 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006296/0.3561, allocations: 211.3 kB / 1.054 GB, free: 7.41 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.118e-05/0.3561, allocations: 0 / 1.054 GB, free: 7.41 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.054e-05/0.3562, allocations: 0 / 1.054 GB, free: 7.41 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.012e-06/0.3562, allocations: 0 / 1.054 GB, free: 7.41 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003925/0.3566, allocations: 39.91 kB / 1.054 GB, free: 7.371 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.537e-05/0.3566, allocations: 0 / 1.054 GB, free: 7.371 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.78e-05/0.3567, allocations: 7.938 kB / 1.054 GB, free: 7.363 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.019e-05/0.3567, allocations: 8 kB / 1.054 GB, free: 7.355 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.524e-05/0.3567, allocations: 0 / 1.054 GB, free: 7.355 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.163e-06/0.3568, allocations: 3.938 kB / 1.054 GB, free: 7.352 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002101/0.357, allocations: 63.86 kB / 1.054 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.151e-05/0.357, allocations: 4 kB / 1.054 GB, free: 7.285 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.109e-05/0.357, allocations: 0 / 1.054 GB, free: 7.285 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001015/0.3571, allocations: 23.95 kB / 1.054 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3571, allocations: 0 / 1.054 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3571, allocations: 0 / 1.054 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.3572, allocations: 4 kB / 1.054 GB, free: 7.258 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.0003589/0.3575, allocations: 323.5 kB / 1.054 GB, free: 6.891 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.3576, allocations: 15.97 kB / 1.054 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.392e-05/0.3576, allocations: 0.9375 kB / 1.054 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.449e-05/0.3577, allocations: 164.3 kB / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.3577, allocations: 384 / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.3577, allocations: 384 / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.3579, allocations: 30.27 kB / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.3579, allocations: 192 / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.3579, allocations: 7.938 kB / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.3579, allocations: 0 / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.298e-05/0.3579, allocations: 0 / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001574/0.3581, allocations: 149.7 kB / 1.054 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.481e-05/0.3582, allocations: 22.55 kB / 1.054 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.757e-05/0.3582, allocations: 4.859 kB / 1.054 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008375/0.359, allocations: 461.5 kB / 1.055 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.3591, allocations: 34.56 kB / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.3591, allocations: 0 / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001508/0.3592, allocations: 33.64 kB / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.3593, allocations: 55.34 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.435e-05/0.3593, allocations: 97.97 kB / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.3593, allocations: 25.7 kB / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.749e-05/0.3594, allocations: 84.08 kB / 1.055 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.959e-05/0.3594, allocations: 4 kB / 1.055 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-05/0.3595, allocations: 13.72 kB / 1.055 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.3596, allocations: 310.8 kB / 1.055 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.044e-05/0.3596, allocations: 0 / 1.055 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.926e-06/0.3596, allocations: 4 kB / 1.055 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.48e-05/0.3596, allocations: 8.922 kB / 1.056 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3596, allocations: 0 / 1.056 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.84e-05/0.3597, allocations: 37.69 kB / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.3597, allocations: 4 kB / 1.056 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.3597, allocations: 7.938 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.3598, allocations: 7.875 kB / 1.056 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.378e-05/0.3598, allocations: 4 kB / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.3598, allocations: 0 / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.028e-05/0.3598, allocations: 0 / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-06/0.3599, allocations: 4.031 kB / 1.056 GB, free: 5.062 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.904e-05/0.3599, allocations: 109.8 kB / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.133e-06/0.3599, allocations: 0 / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.279e-05/0.36, allocations: 44.75 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.36, allocations: 0 / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.3601, allocations: 0 / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.3601, allocations: 0 / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/0.3602, allocations: 141.7 kB / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3602, allocations: 0 / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.624e-05/0.3602, allocations: 12.02 kB / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3602, allocations: 0 / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.3602, allocations: 7.938 kB / 1.056 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3602, allocations: 3.938 kB / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3602, allocations: 0 / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.744e-05/0.3603, allocations: 53.14 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.551e-05/0.3604, allocations: 77.11 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.3604, allocations: 11.95 kB / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.214e-06/0.3604, allocations: 0 / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.126e-05/0.3604, allocations: 0 / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.3604, allocations: 0 / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.687e-05/0.3605, allocations: 79.28 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3605, allocations: 3.938 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000217/0.3607, allocations: 16 kB / 1.056 GB, free: 4.414 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 (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.0002433/0.3609, allocations: 127.2 kB / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.243e-05/0.361, allocations: 7.938 kB / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.361, allocations: 0 / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.121e-06/0.361, allocations: 0 / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/0.3612, allocations: 4 kB / 1.056 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002026/0.3614, allocations: 106.5 kB / 1.056 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.3616, allocations: 0.6772 MB / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.622e-05/0.3617, allocations: 11.44 kB / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of SimCode: time 3.51e-07/0.3617, allocations: 0 / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of Templates: time 0.002224/0.3639, allocations: 0.5464 MB / 1.058 GB, free: 2.867 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches