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.001452/0.001452, allocations: 108 kB / 15.61 MB, free: 152 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.001555/0.001555, allocations: 197.9 kB / 16.53 MB, free: 6.664 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.444/1.444, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.694/2.694, allocations: 437 MB / 0.7104 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001979, allocations: 71.88 kB / 0.8692 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5989/0.6009, allocations: 151.6 MB / 1.017 GB, free: 2.664 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.002143/0.603, allocations: 0.5823 MB / 1.018 GB, free: 2.078 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0005334/0.6036, allocations: 187.4 kB / 1.018 GB, free: 1.895 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.48e-05/0.6036, allocations: 0 / 1.018 GB, free: 1.895 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.857e-05/0.6037, allocations: 3.938 kB / 1.018 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.691e-06/0.6037, allocations: 0 / 1.018 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004162/0.6041, allocations: 39.89 kB / 1.018 GB, free: 1.852 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.692e-05/0.6042, allocations: 15.92 kB / 1.018 GB, free: 1.836 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.557e-05/0.6042, allocations: 0 / 1.018 GB, free: 1.836 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.336e-05/0.6042, allocations: 0 / 1.018 GB, free: 1.836 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.985e-05/0.6043, allocations: 0 / 1.018 GB, free: 1.836 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 6.332e-06/0.6043, allocations: 3.938 kB / 1.018 GB, free: 1.832 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001801/0.6045, allocations: 63.94 kB / 1.018 GB, free: 1.77 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 9.628e-06/0.6045, allocations: 4 kB / 1.018 GB, free: 1.766 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.94e-05/0.6045, allocations: 3.938 kB / 1.018 GB, free: 1.762 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.6046, allocations: 27.95 kB / 1.018 GB, free: 1.734 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.6046, allocations: 0 / 1.018 GB, free: 1.734 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6047, allocations: 3.938 kB / 1.018 GB, free: 1.73 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.6047, allocations: 3.984 kB / 1.018 GB, free: 1.727 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.0003907/0.6051, allocations: 319.6 kB / 1.019 GB, free: 1.363 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.6051, allocations: 8.031 kB / 1.019 GB, free: 1.355 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.384e-05/0.6051, allocations: 4.938 kB / 1.019 GB, free: 1.352 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.6053, allocations: 164.4 kB / 1.019 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.6053, allocations: 384 / 1.019 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.376e-06/0.6053, allocations: 4.375 kB / 1.019 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.6054, allocations: 26.27 kB / 1.019 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.6054, allocations: 192 / 1.019 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.6054, allocations: 3.938 kB / 1.019 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.6055, allocations: 0 / 1.019 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.588e-05/0.6055, allocations: 4 kB / 1.019 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001792/0.6057, allocations: 145.7 kB / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.772e-05/0.6057, allocations: 26.5 kB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.767e-05/0.6058, allocations: 8.953 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000793/0.6066, allocations: 449.4 kB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.6066, allocations: 38.56 kB / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 1.814e-06/0.6066, allocations: 0 / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001514/0.6068, allocations: 45.56 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.6068, allocations: 51.41 kB / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.465e-05/0.6069, allocations: 89.86 kB / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.6069, allocations: 25.7 kB / 1.02 GB, free: 52 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 5.366e-05/0.6069, allocations: 80.14 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.124e-05/0.607, allocations: 128 / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.172e-05/0.607, allocations: 25.66 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.6072, allocations: 314.8 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.618e-06/0.6072, allocations: 0 / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.711e-06/0.6072, allocations: 0 / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.558e-05/0.6072, allocations: 8.859 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.6072, allocations: 0 / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.481e-05/0.6073, allocations: 41.62 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.6073, allocations: 8.094 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.6073, allocations: 0 / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.6074, allocations: 7.922 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.867e-05/0.6074, allocations: 0 / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.6074, allocations: 11.92 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.047e-05/0.6074, allocations: 0 / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.6074, allocations: 0 / 1.02 GB, free: 15.54 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 7.569e-05/0.6075, allocations: 109.8 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.065e-06/0.6075, allocations: 0 / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.321e-05/0.6076, allocations: 44.75 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.6076, allocations: 0 / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.6076, allocations: 4 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.6077, allocations: 4 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.6078, allocations: 145.7 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.6078, allocations: 3.938 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.338e-05/0.6078, allocations: 0 / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.6078, allocations: 4 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.6078, allocations: 3.938 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.6078, allocations: 0 / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.6078, allocations: 4.031 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.469e-05/0.6079, allocations: 57.12 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.763e-05/0.608, allocations: 81.11 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.608, allocations: 3.938 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.574e-06/0.608, allocations: 0 / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.549e-05/0.608, allocations: 0 / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.608, allocations: 0 / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.46e-05/0.6081, allocations: 79.31 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6081, allocations: 0 / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002164/0.6083, allocations: 16 kB / 1.021 GB, free: 14.88 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.0002228/0.6085, allocations: 127.2 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.104e-05/0.6086, allocations: 7.938 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.6086, allocations: 4.062 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.052e-06/0.6086, allocations: 0 / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001304/0.6088, allocations: 4 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002096/0.609, allocations: 88.95 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.6093, allocations: 0.669 MB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.022e-05/0.6093, allocations: 0 / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.617e-05/0.6093, allocations: 11.44 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of SimCode: time 3e-07/0.6093, allocations: 0 / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of Templates: time 0.002851/0.6122, allocations: 408.4 kB / 1.022 GB, free: 13.52 MB / 0.7794 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=400 -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/jenkins/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