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.001727/0.001727, 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.001469/0.001469, allocations: 188.9 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.5/1.5, allocations: 222.9 MB / 239.8 MB, free: 4.613 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.724/2.724, allocations: 437 MB / 0.7099 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 63.89 kB / 0.8686 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6027/0.6046, allocations: 151.6 MB / 1.017 GB, free: 2.82 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.0019/0.6065, allocations: 0.6471 MB / 1.017 GB, free: 2.172 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0005227/0.6071, allocations: 195.4 kB / 1.017 GB, free: 1.98 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.187e-06/0.6071, allocations: 0 / 1.017 GB, free: 1.98 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.273e-05/0.6071, allocations: 0 / 1.017 GB, free: 1.98 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.33e-06/0.6071, allocations: 0 / 1.017 GB, free: 1.98 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003197/0.6075, allocations: 39.89 kB / 1.017 GB, free: 1.941 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 2.906e-05/0.6075, allocations: 0 / 1.017 GB, free: 1.941 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.82e-05/0.6075, allocations: 0 / 1.017 GB, free: 1.941 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.158e-05/0.6076, allocations: 4 kB / 1.017 GB, free: 1.938 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.956e-05/0.6076, allocations: 3.938 kB / 1.018 GB, free: 1.934 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 6.202e-06/0.6076, allocations: 4 kB / 1.018 GB, free: 1.93 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001739/0.6078, allocations: 63.88 kB / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 8.416e-06/0.6078, allocations: 0 / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.01e-05/0.6078, allocations: 3.984 kB / 1.018 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.6079, allocations: 39.95 kB / 1.018 GB, free: 1.824 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.608, allocations: 0 / 1.018 GB, free: 1.824 MB / 0.7637 GB Notification: Performance of FrontEnd: time 6.91e-07/0.608, allocations: 3.938 kB / 1.018 GB, free: 1.82 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.608, allocations: 0 / 1.018 GB, free: 1.82 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.000348/0.6083, allocations: 311.6 kB / 1.018 GB, free: 1.465 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.6084, allocations: 16.03 kB / 1.018 GB, free: 1.449 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.761e-05/0.6084, allocations: 4.844 kB / 1.018 GB, free: 1.445 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.6085, allocations: 168.4 kB / 1.018 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.6086, allocations: 4.312 kB / 1.018 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.6086, allocations: 384 / 1.018 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.219e-05/0.6087, allocations: 26.27 kB / 1.018 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.036e-06/0.6087, allocations: 4.188 kB / 1.018 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.6087, allocations: 3.938 kB / 1.018 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.6087, allocations: 0 / 1.018 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.954e-05/0.6087, allocations: 0 / 1.018 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000176/0.6089, allocations: 153.7 kB / 1.018 GB, free: 1 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.442e-05/0.609, allocations: 22.55 kB / 1.018 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.776e-05/0.609, allocations: 4.859 kB / 1.018 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008144/0.6098, allocations: 457.5 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.6098, allocations: 34.5 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 3.116e-06/0.6099, allocations: 3.984 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001354/0.61, allocations: 41.56 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/0.6101, allocations: 51.41 kB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.612e-05/0.6101, allocations: 89.86 kB / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.6101, allocations: 25.7 kB / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 4.3e-05/0.6102, allocations: 88.27 kB / 1.019 GB, free: 48 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 2.338e-05/0.6102, allocations: 4 kB / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.914e-05/0.6102, allocations: 9.719 kB / 1.019 GB, free: 28 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.6104, allocations: 310.8 kB / 1.019 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.24e-05/0.6104, allocations: 4 kB / 1.019 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.911e-06/0.6104, allocations: 0 / 1.019 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.799e-05/0.6105, allocations: 12.84 kB / 1.019 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.6105, allocations: 0 / 1.019 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.641e-05/0.6105, allocations: 41.7 kB / 1.019 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.6106, allocations: 4 kB / 1.019 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.6106, allocations: 0 / 1.019 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.6106, allocations: 3.938 kB / 1.019 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.653e-05/0.6106, allocations: 4 kB / 1.019 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.6107, allocations: 0 / 1.019 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.227e-06/0.6107, allocations: 0 / 1.019 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.6107, allocations: 0 / 1.019 GB, free: 15.64 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 8.812e-05/0.6108, allocations: 113.8 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.202e-06/0.6108, allocations: 4.031 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.078e-05/0.6109, allocations: 40.77 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.6109, allocations: 0 / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.6109, allocations: 0 / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.6109, allocations: 0 / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.611, allocations: 145.7 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.611, allocations: 3.938 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.344e-05/0.611, allocations: 4 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.611, allocations: 3.938 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.6111, allocations: 3.938 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.6111, allocations: 8.031 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.6111, allocations: 0 / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.077e-05/0.6112, allocations: 61.12 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.848e-05/0.6112, allocations: 81.05 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.6112, allocations: 3.938 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.863e-06/0.6112, allocations: 0 / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.161e-05/0.6113, allocations: 0 / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.6113, allocations: 8.031 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.443e-05/0.6113, allocations: 75.28 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6113, allocations: 0 / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002181/0.6115, allocations: 12 kB / 1.02 GB, free: 14.98 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.0002252/0.6118, allocations: 119.8 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.027e-05/0.6118, allocations: 11.94 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.6119, allocations: 0 / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.245e-06/0.6119, allocations: 4 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000126/0.612, allocations: 2.188 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001746/0.6122, allocations: 78.66 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.6125, allocations: 0.6731 MB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.174e-05/0.6125, allocations: 0 / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.541e-05/0.6125, allocations: 7.438 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of SimCode: time 3e-07/0.6125, allocations: 128 / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of Templates: time 0.002614/0.6152, allocations: 404.4 kB / 1.021 GB, free: 13.63 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