Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.006991/0.006991, allocations: 100 kB / 15.73 MB, free: 6.043 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.002652/0.002652, allocations: 202.1 kB / 16.68 MB, free: 5.965 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.488/1.488, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.825/2.825, allocations: 469.8 MB / 0.7425 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 72.09 kB / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3387, allocations: 159.1 MB / 1.221 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001752/0.3405, allocations: 0.5875 MB / 1.221 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004974/0.341, allocations: 201.2 kB / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.147e-05/0.341, allocations: 4 kB / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.131e-05/0.341, allocations: 0 / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.281e-06/0.341, allocations: 0 / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003922/0.3414, allocations: 51.83 kB / 1.221 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 3.841e-05/0.3415, allocations: 0 / 1.221 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.32e-05/0.3415, allocations: 0 / 1.221 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.365e-05/0.3415, allocations: 4 kB / 1.221 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 1.785e-05/0.3415, allocations: 3.938 kB / 1.221 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.095e-06/0.3415, allocations: 3.984 kB / 1.221 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001729/0.3417, allocations: 59.88 kB / 1.222 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.562e-06/0.3417, allocations: 4 kB / 1.222 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.104e-05/0.3417, allocations: 8 kB / 1.222 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.3419, allocations: 35.94 kB / 1.222 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.3419, allocations: 0 / 1.222 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.542e-06/0.3419, allocations: 0 / 1.222 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.726e-06/0.3419, allocations: 0 / 1.222 GB, free: 12.81 MB / 0.9825 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.0003286/0.3422, allocations: 323.4 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.3423, allocations: 16.02 kB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.022e-05/0.3423, allocations: 4.938 kB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.735e-05/0.3424, allocations: 160.4 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.3424, allocations: 4.375 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.3424, allocations: 384 / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.933e-05/0.3425, allocations: 30.27 kB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.3425, allocations: 192 / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.3425, allocations: 3.938 kB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.3425, allocations: 3.938 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.205e-05/0.3425, allocations: 4 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001333/0.3427, allocations: 149.7 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.225e-05/0.3427, allocations: 22.52 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.592e-05/0.3427, allocations: 4.859 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000769/0.3435, allocations: 461.5 kB / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.3435, allocations: 34.56 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.3435, allocations: 0 / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001303/0.3436, allocations: 33.64 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/0.3437, allocations: 59.34 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.554e-05/0.3437, allocations: 93.8 kB / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.3437, allocations: 25.7 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 2.216e-05/0.3437, allocations: 84.14 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.3438, allocations: 3.984 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.666e-05/0.3438, allocations: 9.719 kB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.563e-05/0.3439, allocations: 315 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.064e-05/0.3439, allocations: 4 kB / 1.223 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.921e-06/0.3439, allocations: 0 / 1.223 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.758e-05/0.3439, allocations: 12.86 kB / 1.223 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3439, allocations: 0 / 1.223 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.634e-05/0.344, allocations: 33.64 kB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.344, allocations: 4 kB / 1.223 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.344, allocations: 4.078 kB / 1.223 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.344, allocations: 7.938 kB / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.087e-05/0.3441, allocations: 4 kB / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.3441, allocations: 0 / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.023e-05/0.3441, allocations: 0 / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-06/0.3441, allocations: 0 / 1.223 GB, free: 10.62 MB / 0.9825 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 6.729e-05/0.3442, allocations: 110.4 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.742e-06/0.3442, allocations: 0 / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.103e-05/0.3442, allocations: 48.73 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3442, allocations: 4.031 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.3443, allocations: 0 / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3443, allocations: 0 / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.578e-05/0.3443, allocations: 141.7 kB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3443, allocations: 0 / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.608e-05/0.3444, allocations: 7.938 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3444, allocations: 0 / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.3444, allocations: 11.92 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3444, allocations: 0 / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3444, allocations: 0 / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.959e-05/0.3444, allocations: 61.14 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.726e-05/0.3445, allocations: 81.05 kB / 1.224 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.3445, allocations: 3.938 kB / 1.224 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.313e-06/0.3445, allocations: 0 / 1.224 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.7e-05/0.3445, allocations: 3.984 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/0.3445, allocations: 7.938 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 2.82e-05/0.3445, allocations: 75.28 kB / 1.224 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3445, allocations: 0 / 1.224 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002044/0.3447, allocations: 15.97 kB / 1.224 GB, free: 9.957 MB / 0.9825 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.0002105/0.345, allocations: 117.9 kB / 1.224 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.034e-05/0.345, allocations: 7.938 kB / 1.224 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.345, allocations: 0 / 1.224 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.037e-05/0.345, allocations: 12.06 kB / 1.224 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001283/0.3452, allocations: 0 / 1.224 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002069/0.3454, allocations: 76.84 kB / 1.224 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/0.3456, allocations: 0.6768 MB / 1.225 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.204e-05/0.3456, allocations: 0 / 1.225 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.436e-05/0.3456, allocations: 7.438 kB / 1.225 GB, free: 9 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/0.3456, allocations: 0 / 1.225 GB, free: 9 MB / 0.9825 GB Notification: Performance of Templates: time 0.00243/0.348, allocations: 412.5 kB / 1.225 GB, free: 8.598 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches