Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1",fileNamePrefix="Buildings_10_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_10_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.001743/0.001743, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002321/0.002321, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.382/1.382, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.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.672/2.672, allocations: 437 MB / 0.7099 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.00149, allocations: 67.91 kB / 0.8685 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6565/0.658, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.00176/0.6598, allocations: 0.6565 MB / 1.017 GB, free: 2.141 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004626/0.6603, allocations: 207.3 kB / 1.017 GB, free: 1.938 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.287e-06/0.6603, allocations: 3.938 kB / 1.017 GB, free: 1.934 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.411e-05/0.6603, allocations: 0 / 1.017 GB, free: 1.934 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.589e-06/0.6603, allocations: 0 / 1.017 GB, free: 1.934 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003006/0.6606, allocations: 43.89 kB / 1.017 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 2.52e-05/0.6607, allocations: 4 kB / 1.017 GB, free: 1.887 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.323e-05/0.6607, allocations: 0 / 1.017 GB, free: 1.887 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.358e-05/0.6607, allocations: 4 kB / 1.017 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.681e-05/0.6607, allocations: 0 / 1.017 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 5.53e-06/0.6608, allocations: 4 kB / 1.018 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001734/0.6609, allocations: 67.86 kB / 1.018 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 8.195e-06/0.661, allocations: 4 kB / 1.018 GB, free: 1.809 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.678e-05/0.661, allocations: 0 / 1.018 GB, free: 1.809 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.6611, allocations: 35.88 kB / 1.018 GB, free: 1.773 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.6611, allocations: 4 kB / 1.018 GB, free: 1.77 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.01e-07/0.6611, allocations: 0 / 1.018 GB, free: 1.77 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.026e-06/0.6611, allocations: 0 / 1.018 GB, free: 1.77 MB / 0.7637 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.0002743/0.6614, allocations: 319.6 kB / 1.018 GB, free: 1.406 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 6.321e-05/0.6615, allocations: 15.97 kB / 1.018 GB, free: 1.391 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.665e-05/0.6615, allocations: 4.844 kB / 1.018 GB, free: 1.387 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.6616, allocations: 164.4 kB / 1.018 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.6617, allocations: 4.359 kB / 1.018 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.368e-06/0.6617, allocations: 384 / 1.018 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.6618, allocations: 26.27 kB / 1.018 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.6618, allocations: 192 / 1.018 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.6618, allocations: 3.938 kB / 1.018 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.6618, allocations: 4 kB / 1.018 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.17e-05/0.6619, allocations: 4 kB / 1.018 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001786/0.662, allocations: 145.7 kB / 1.018 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.715e-05/0.6621, allocations: 22.55 kB / 1.018 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.925e-05/0.6621, allocations: 8.844 kB / 1.018 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008971/0.663, allocations: 453.5 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.6631, allocations: 42.55 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.6631, allocations: 0 / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001512/0.6632, allocations: 33.64 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.6633, allocations: 55.34 kB / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.127e-05/0.6633, allocations: 89.86 kB / 1.019 GB, free: 120 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.6634, allocations: 25.7 kB / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 3.477e-05/0.6634, allocations: 84.27 kB / 1.019 GB, free: 0 / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 4.073e-05/0.6634, allocations: 0 / 1.019 GB, free: 0 / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.657e-05/0.6635, allocations: 17.77 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.6636, allocations: 310.8 kB / 1.019 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.368e-06/0.6636, allocations: 0 / 1.019 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.005e-05/0.6637, allocations: 7.875 kB / 1.019 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.813e-05/0.6637, allocations: 12.8 kB / 1.019 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.6637, allocations: 0 / 1.019 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.519e-05/0.6638, allocations: 33.77 kB / 1.019 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.6638, allocations: 11.94 kB / 1.019 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.6638, allocations: 0 / 1.019 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.6638, allocations: 3.938 kB / 1.019 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.018e-05/0.6639, allocations: 0 / 1.019 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.6639, allocations: 4 kB / 1.019 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.037e-05/0.6639, allocations: 0 / 1.019 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.6639, allocations: 0 / 1.019 GB, free: 15.58 MB / 0.7794 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 9.752e-05/0.664, allocations: 114.4 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.984e-06/0.664, allocations: 4 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.251e-05/0.6641, allocations: 40.77 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.6641, allocations: 0 / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.6642, allocations: 4 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.6642, allocations: 0 / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001233/0.6643, allocations: 145.7 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.6643, allocations: 0 / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.581e-05/0.6643, allocations: 4 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.6643, allocations: 7.938 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.6643, allocations: 7.969 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.6644, allocations: 0 / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.6644, allocations: 0 / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.605e-05/0.6644, allocations: 53.12 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.605e-05/0.6645, allocations: 81.09 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.6645, allocations: 7.938 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.634e-06/0.6645, allocations: 0 / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.215e-05/0.6645, allocations: 0 / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-06/0.6646, allocations: 4.031 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.297e-05/0.6646, allocations: 79.28 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6646, allocations: 0 / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002282/0.6648, allocations: 16 kB / 1.02 GB, free: 14.92 MB / 0.7794 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.0002498/0.6651, allocations: 115.2 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.614e-05/0.6652, allocations: 11.94 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.6652, allocations: 0 / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.492e-06/0.6652, allocations: 3.938 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001498/0.6653, allocations: 11.39 kB / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002084/0.6656, allocations: 74.67 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.6658, allocations: 0.6692 MB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.308e-05/0.6659, allocations: 0 / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.677e-05/0.6659, allocations: 15.38 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of SimCode: time 2.81e-07/0.6659, allocations: 4.125 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of Templates: time 0.002435/0.6683, allocations: 400.4 kB / 1.021 GB, free: 13.57 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches