Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.007353/0.007353, allocations: 101.7 kB / 15.73 MB, free: 6.062 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.001319/0.001319, allocations: 195.3 kB / 16.67 MB, free: 5.977 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.581/2.581, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 68.11 kB / 1.054 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8389/0.8402, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001672/0.8419, allocations: 0.574 MB / 1.208 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0004387/0.8424, allocations: 193.2 kB / 1.209 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.272e-05/0.8424, allocations: 0 / 1.209 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.775e-05/0.8424, allocations: 4 kB / 1.209 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.791e-06/0.8425, allocations: 0 / 1.209 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003765/0.8428, allocations: 51.83 kB / 1.209 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 4.861e-05/0.8429, allocations: 4 kB / 1.209 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.828e-05/0.843, allocations: 3.984 kB / 1.209 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.572e-05/0.843, allocations: 0 / 1.209 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.099e-05/0.843, allocations: 0 / 1.209 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.703e-06/0.843, allocations: 0 / 1.209 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001762/0.8432, allocations: 59.94 kB / 1.209 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.546e-06/0.8432, allocations: 3.938 kB / 1.209 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.838e-05/0.8432, allocations: 3.938 kB / 1.209 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.8434, allocations: 35.94 kB / 1.209 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.8434, allocations: 3.938 kB / 1.209 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.303e-06/0.8434, allocations: 0 / 1.209 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.8434, allocations: 0 / 1.209 GB, free: 12.69 MB / 0.9356 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.0003101/0.8437, allocations: 327.6 kB / 1.209 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.8438, allocations: 8.031 kB / 1.209 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.842e-05/0.8438, allocations: 0.9375 kB / 1.209 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.807e-05/0.8439, allocations: 160.4 kB / 1.209 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.8439, allocations: 384 / 1.209 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.8439, allocations: 8.375 kB / 1.209 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.016e-05/0.844, allocations: 26.27 kB / 1.209 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.844, allocations: 192 / 1.209 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.844, allocations: 11.91 kB / 1.209 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.844, allocations: 0 / 1.209 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.245e-05/0.8441, allocations: 7.938 kB / 1.209 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001363/0.8442, allocations: 145.7 kB / 1.209 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 3.788e-05/0.8443, allocations: 18.58 kB / 1.209 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.651e-05/0.8443, allocations: 12.95 kB / 1.209 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006541/0.8449, allocations: 449.5 kB / 1.21 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.845, allocations: 34.56 kB / 1.21 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.845, allocations: 0 / 1.21 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001213/0.8451, allocations: 45.58 kB / 1.21 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.8451, allocations: 51.41 kB / 1.21 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.11e-05/0.8452, allocations: 89.86 kB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.8452, allocations: 25.7 kB / 1.21 GB, free: 11 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.677e-05/0.8452, allocations: 80.14 kB / 1.21 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.583e-05/0.8453, allocations: 3.984 kB / 1.21 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.561e-05/0.8453, allocations: 17.72 kB / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.181e-05/0.8454, allocations: 314.8 kB / 1.21 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.247e-06/0.8454, allocations: 4.125 kB / 1.21 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.649e-06/0.8454, allocations: 0 / 1.21 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.403e-05/0.8454, allocations: 8.859 kB / 1.21 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.8454, allocations: 0 / 1.21 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.861e-05/0.8455, allocations: 37.55 kB / 1.21 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.8455, allocations: 8 kB / 1.21 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.8455, allocations: 3.984 kB / 1.21 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.8455, allocations: 3.938 kB / 1.21 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.429e-05/0.8456, allocations: 4.094 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.8456, allocations: 0 / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.123e-05/0.8456, allocations: 4 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-06/0.8456, allocations: 4 kB / 1.211 GB, free: 10.49 MB / 0.9356 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.537e-05/0.8457, allocations: 109.8 kB / 1.211 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.152e-06/0.8457, allocations: 0 / 1.211 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.996e-05/0.8458, allocations: 48.62 kB / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-06/0.8458, allocations: 0 / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.8458, allocations: 0 / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.8458, allocations: 8.031 kB / 1.211 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.099e-05/0.8459, allocations: 141.7 kB / 1.211 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.8459, allocations: 0 / 1.211 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.005e-05/0.8459, allocations: 0 / 1.211 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.8459, allocations: 0 / 1.211 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.8459, allocations: 15.92 kB / 1.211 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.8459, allocations: 0 / 1.211 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.8459, allocations: 0 / 1.211 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.63e-05/0.846, allocations: 53.14 kB / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.412e-05/0.846, allocations: 77.11 kB / 1.211 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.8461, allocations: 7.938 kB / 1.211 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.773e-06/0.8461, allocations: 0 / 1.211 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.65e-05/0.8461, allocations: 7.922 kB / 1.211 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-06/0.8461, allocations: 0 / 1.211 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 2.429e-05/0.8461, allocations: 79.28 kB / 1.211 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8461, allocations: 0 / 1.211 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001881/0.8463, allocations: 12 kB / 1.211 GB, free: 9.84 MB / 0.9356 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.0002013/0.8465, allocations: 123.2 kB / 1.211 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 6.065e-05/0.8466, allocations: 4 kB / 1.211 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.8466, allocations: 0 / 1.211 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.841e-06/0.8466, allocations: 4 kB / 1.211 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001246/0.8467, allocations: 128 / 1.211 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001669/0.8469, allocations: 84.94 kB / 1.211 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002106/0.8471, allocations: 0.6729 MB / 1.212 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.769e-06/0.8471, allocations: 3.938 kB / 1.212 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.087e-05/0.8472, allocations: 7.438 kB / 1.212 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of SimCode: time 2.01e-07/0.8472, allocations: 0 / 1.212 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of Templates: time 0.002228/0.8494, allocations: 412.3 kB / 1.212 GB, free: 8.48 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches