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.001464/0.001464, allocations: 105.9 kB / 16.27 MB, free: 6.41 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.001502/0.001502, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.373/1.373, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.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.525/2.525, allocations: 437 MB / 0.711 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 59.66 kB / 0.8699 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2946, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001954/0.2966, allocations: 0.5786 MB / 1.019 GB, free: 10.07 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000507/0.2971, allocations: 199.3 kB / 1.019 GB, free: 9.879 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.544e-05/0.2972, allocations: 0 / 1.019 GB, free: 9.879 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.394e-05/0.2972, allocations: 0 / 1.019 GB, free: 9.879 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.081e-06/0.2972, allocations: 3.938 kB / 1.019 GB, free: 9.875 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004135/0.2976, allocations: 64.22 kB / 1.019 GB, free: 9.812 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 3.658e-05/0.2977, allocations: 4 kB / 1.019 GB, free: 9.809 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.197e-05/0.2977, allocations: 0 / 1.019 GB, free: 9.809 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.397e-05/0.2977, allocations: 0 / 1.019 GB, free: 9.809 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 2.041e-05/0.2978, allocations: 0 / 1.019 GB, free: 9.809 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.2978, allocations: 0 / 1.019 GB, free: 9.809 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001761/0.298, allocations: 67.86 kB / 1.019 GB, free: 9.742 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 9.137e-06/0.298, allocations: 0 / 1.019 GB, free: 9.742 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.89e-05/0.298, allocations: 0 / 1.019 GB, free: 9.742 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.2981, allocations: 35.88 kB / 1.019 GB, free: 9.707 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2981, allocations: 0 / 1.019 GB, free: 9.707 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2981, allocations: 8 kB / 1.019 GB, free: 9.699 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.2982, allocations: 0 / 1.019 GB, free: 9.699 MB / 0.795 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.0003193/0.2985, allocations: 319.6 kB / 1.019 GB, free: 9.336 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.2985, allocations: 8.922 kB / 1.019 GB, free: 9.328 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.062e-05/0.2986, allocations: 4.938 kB / 1.019 GB, free: 9.324 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.529e-05/0.2987, allocations: 160.4 kB / 1.019 GB, free: 9.129 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.2987, allocations: 4.375 kB / 1.019 GB, free: 9.125 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.756e-06/0.2987, allocations: 384 / 1.019 GB, free: 9.125 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.736e-05/0.2988, allocations: 34.25 kB / 1.019 GB, free: 9.086 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.2988, allocations: 192 / 1.019 GB, free: 9.086 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.659e-05/0.2988, allocations: 7.938 kB / 1.019 GB, free: 9.078 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.2989, allocations: 0 / 1.019 GB, free: 9.078 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.132e-05/0.2989, allocations: 0 / 1.019 GB, free: 9.078 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001506/0.299, allocations: 149.6 kB / 1.02 GB, free: 8.883 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 4.111e-05/0.2991, allocations: 18.61 kB / 1.02 GB, free: 8.855 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.552e-05/0.2991, allocations: 4.859 kB / 1.02 GB, free: 8.848 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007811/0.2999, allocations: 465.5 kB / 1.02 GB, free: 8.301 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.2999, allocations: 34.56 kB / 1.02 GB, free: 8.258 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.2999, allocations: 0 / 1.02 GB, free: 8.258 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.0001369/0.3001, allocations: 41.56 kB / 1.02 GB, free: 8.211 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.3001, allocations: 55.53 kB / 1.02 GB, free: 8.145 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.597e-05/0.3002, allocations: 93.8 kB / 1.02 GB, free: 8.043 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.3002, allocations: 25.7 kB / 1.02 GB, free: 8.012 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 2.633e-05/0.3002, allocations: 80.14 kB / 1.02 GB, free: 7.93 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.54e-05/0.3003, allocations: 4 kB / 1.02 GB, free: 7.926 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.93e-05/0.3003, allocations: 13.72 kB / 1.02 GB, free: 7.906 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.3004, allocations: 314.8 kB / 1.021 GB, free: 7.59 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.258e-06/0.3004, allocations: 0 / 1.021 GB, free: 7.59 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.4e-06/0.3004, allocations: 4 kB / 1.021 GB, free: 7.586 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.229e-05/0.3005, allocations: 8.859 kB / 1.021 GB, free: 7.574 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.3005, allocations: 0 / 1.021 GB, free: 7.574 MB / 0.795 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.463e-05/0.3005, allocations: 45.62 kB / 1.021 GB, free: 7.523 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.3006, allocations: 4 kB / 1.021 GB, free: 7.52 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.3006, allocations: 0 / 1.021 GB, free: 7.52 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.3006, allocations: 3.938 kB / 1.021 GB, free: 7.516 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.103e-05/0.3006, allocations: 3.984 kB / 1.021 GB, free: 7.512 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.3006, allocations: 8.078 kB / 1.021 GB, free: 7.504 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.428e-06/0.3007, allocations: 4 kB / 1.021 GB, free: 7.5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.3007, allocations: 0 / 1.021 GB, free: 7.5 MB / 0.795 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.764e-05/0.3007, allocations: 105.8 kB / 1.021 GB, free: 7.387 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.614e-06/0.3007, allocations: 0 / 1.021 GB, free: 7.387 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.018e-05/0.3008, allocations: 40.75 kB / 1.021 GB, free: 7.34 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.3008, allocations: 0 / 1.021 GB, free: 7.34 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3009, allocations: 7.938 kB / 1.021 GB, free: 7.332 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3009, allocations: 0 / 1.021 GB, free: 7.332 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/0.301, allocations: 153.7 kB / 1.021 GB, free: 7.133 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.301, allocations: 0 / 1.021 GB, free: 7.133 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.202e-05/0.301, allocations: 0 / 1.021 GB, free: 7.133 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.301, allocations: 4 kB / 1.021 GB, free: 7.129 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/0.301, allocations: 3.938 kB / 1.021 GB, free: 7.125 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.301, allocations: 4 kB / 1.021 GB, free: 7.121 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-06/0.301, allocations: 0 / 1.021 GB, free: 7.121 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001316/0.3012, allocations: 57.12 kB / 1.021 GB, free: 7.047 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.799e-05/0.3012, allocations: 85.14 kB / 1.021 GB, free: 6.945 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.3012, allocations: 3.938 kB / 1.021 GB, free: 6.941 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.983e-06/0.3012, allocations: 0 / 1.021 GB, free: 6.941 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.324e-05/0.3013, allocations: 0 / 1.021 GB, free: 6.941 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-06/0.3013, allocations: 3.938 kB / 1.021 GB, free: 6.938 MB / 0.795 GB Notification: Performance of sorting global known variables: time 2.705e-05/0.3013, allocations: 75.28 kB / 1.021 GB, free: 6.863 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3013, allocations: 0 / 1.021 GB, free: 6.863 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001997/0.3015, allocations: 12 kB / 1.021 GB, free: 6.852 MB / 0.795 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.0002162/0.3017, allocations: 127.2 kB / 1.021 GB, free: 6.719 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 6.789e-05/0.3018, allocations: 4 kB / 1.021 GB, free: 6.715 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3018, allocations: 0 / 1.021 GB, free: 6.715 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 6.012e-06/0.3018, allocations: 0 / 1.021 GB, free: 6.715 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001299/0.302, allocations: 5.891 kB / 1.021 GB, free: 6.711 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000219/0.3022, allocations: 114.8 kB / 1.021 GB, free: 6.566 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.3024, allocations: 0.6728 MB / 1.022 GB, free: 5.867 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.514e-05/0.3025, allocations: 7.438 kB / 1.022 GB, free: 5.859 MB / 0.795 GB Notification: Performance of SimCode: time 2.01e-07/0.3025, allocations: 0 / 1.022 GB, free: 5.859 MB / 0.795 GB Notification: Performance of Templates: time 0.001999/0.3045, allocations: 0.5557 MB / 1.023 GB, free: 5.305 MB / 0.795 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/jenkins1/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