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.001023/0.001024, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.007973/0.007973, allocations: 171.7 kB / 16.26 MB, free: 6.676 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.417/1.417, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.657/2.657, allocations: 437.8 MB / 0.7121 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003428/0.0003428, allocations: 12 kB / 0.8728 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.72/0.7204, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.0007095/0.7212, allocations: 321.3 kB / 1.023 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0004822/0.7217, allocations: 203.3 kB / 1.024 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.598e-06/0.7217, allocations: 0 / 1.024 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.09e-05/0.7217, allocations: 4 kB / 1.024 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.478e-06/0.7217, allocations: 0 / 1.024 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000303/0.722, allocations: 39.91 kB / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 2.684e-05/0.7221, allocations: 4 kB / 1.024 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.93e-05/0.7221, allocations: 3.984 kB / 1.024 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.414e-05/0.7221, allocations: 0 / 1.024 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 2.004e-05/0.7221, allocations: 0 / 1.024 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.093e-06/0.7222, allocations: 4 kB / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001889/0.7224, allocations: 63.88 kB / 1.024 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.019e-05/0.7224, allocations: 3.938 kB / 1.024 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.64e-05/0.7224, allocations: 29.69 kB / 1.024 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001106/0.7225, allocations: 31.94 kB / 1.024 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.7225, allocations: 8 kB / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.864e-06/0.7226, allocations: 4 kB / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.217e-06/0.7226, allocations: 0 / 1.024 GB, free: 15.11 MB / 0.7794 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.0002706/0.7228, allocations: 311.6 kB / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.7229, allocations: 11.97 kB / 1.024 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.876e-05/0.7229, allocations: 0.9375 kB / 1.024 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.723, allocations: 164.4 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.723, allocations: 384 / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.823e-06/0.7231, allocations: 4.375 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.688e-05/0.7232, allocations: 26.27 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.7232, allocations: 4.188 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.7232, allocations: 3.938 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.7232, allocations: 0 / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.115e-05/0.7232, allocations: 4 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001493/0.7234, allocations: 145.7 kB / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.296e-05/0.7234, allocations: 22.5 kB / 1.024 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.738e-05/0.7234, allocations: 8.953 kB / 1.024 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007702/0.7242, allocations: 457.5 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.7243, allocations: 42.55 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.7243, allocations: 0 / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001402/0.7244, allocations: 37.55 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.7245, allocations: 59.47 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.461e-05/0.7245, allocations: 89.86 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.7245, allocations: 29.64 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.779e-05/0.7246, allocations: 84.08 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.7246, allocations: 4 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.138e-05/0.7246, allocations: 9.719 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.794e-05/0.7247, allocations: 314.8 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.556e-06/0.7247, allocations: 0 / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.073e-06/0.7247, allocations: 3.984 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.439e-05/0.7248, allocations: 12.92 kB / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.7248, allocations: 0 / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.697e-05/0.7248, allocations: 29.7 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.7249, allocations: 7.938 kB / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.7249, allocations: 4 kB / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.7249, allocations: 3.938 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.099e-05/0.7249, allocations: 0 / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.725, allocations: 0 / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.16e-05/0.725, allocations: 4 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.725, allocations: 4.031 kB / 1.026 GB, free: 12.93 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 6.835e-05/0.7251, allocations: 115.9 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.003e-06/0.7251, allocations: 0 / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.37e-05/0.7252, allocations: 36.77 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.7252, allocations: 0 / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.7252, allocations: 0 / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.7252, allocations: 0 / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.7253, allocations: 153.7 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.7253, allocations: 8.016 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.508e-05/0.7253, allocations: 0 / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.7253, allocations: 3.938 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.7253, allocations: 3.938 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.7253, allocations: 0 / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.7254, allocations: 4 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.925e-05/0.7254, allocations: 53.12 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.473e-05/0.7255, allocations: 77.11 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.7255, allocations: 7.969 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.002e-05/0.7255, allocations: 4 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.212e-05/0.7255, allocations: 4 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-06/0.7255, allocations: 0 / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.487e-05/0.7256, allocations: 75.28 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7256, allocations: 3.938 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001978/0.7258, allocations: 16 kB / 1.026 GB, free: 12.27 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.0002152/0.726, allocations: 115.2 kB / 1.026 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.368e-05/0.7261, allocations: 7.938 kB / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.7261, allocations: 0 / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.514e-06/0.7261, allocations: 7.938 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001356/0.7262, allocations: 5.531 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001924/0.7264, allocations: 77.61 kB / 1.026 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.7267, allocations: 0.677 MB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.594e-05/0.7268, allocations: 4 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.401e-05/0.7268, allocations: 7.438 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of SimCode: time 3.3e-07/0.7268, allocations: 0 / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of Templates: time 0.002884/0.7297, allocations: 400.4 kB / 1.027 GB, free: 10.93 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