Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.251/2.251, allocations: 390.3 MB / 402.8 MB, free: 6.707 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009852/0.0009855, allocations: 188.8 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 221.3 MB / 0.7915 GB, free: 5.398 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009425/0.0009425, allocations: 99.89 kB / 0.9318 GB, free: 5.703 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.315e-05/3.317e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3112, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.089/1.401, allocations: 150.2 MB / 1.365 GB, free: 3.852 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/1.401, allocations: 75.64 kB / 1.365 GB, free: 3.812 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004699/1.406, allocations: 1.573 MB / 1.367 GB, free: 2.441 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.934e-06/1.406, allocations: 0 / 1.367 GB, free: 2.441 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.418e-06/1.406, allocations: 0 / 1.367 GB, free: 2.441 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004522/1.406, allocations: 354.2 kB / 1.367 GB, free: 2.055 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/1.406, allocations: 8.031 kB / 1.367 GB, free: 2.047 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.443e-05/1.406, allocations: 0 / 1.367 GB, free: 2.047 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000183/1.407, allocations: 175.6 kB / 1.368 GB, free: 1.836 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/1.407, allocations: 0 / 1.368 GB, free: 1.836 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/1.407, allocations: 0 / 1.368 GB, free: 1.836 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/1.407, allocations: 33.58 kB / 1.368 GB, free: 1.801 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/1.407, allocations: 4 kB / 1.368 GB, free: 1.797 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/1.407, allocations: 11.92 kB / 1.368 GB, free: 1.785 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/1.407, allocations: 0 / 1.368 GB, free: 1.785 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.831e-05/1.407, allocations: 7.125 kB / 1.368 GB, free: 1.781 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005505/1.407, allocations: 264.4 kB / 1.368 GB, free: 1.48 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.417e-05/1.408, allocations: 29.95 kB / 1.368 GB, free: 1.445 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.34e-05/1.408, allocations: 15.84 kB / 1.368 GB, free: 1.43 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007187/1.408, allocations: 452.3 kB / 1.368 GB, free: 0.8984 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/1.408, allocations: 34.5 kB / 1.368 GB, free: 0.8555 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/1.408, allocations: 4 kB / 1.368 GB, free: 0.8516 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001823/1.409, allocations: 40.14 kB / 1.368 GB, free: 0.8125 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/1.409, allocations: 51.41 kB / 1.368 GB, free: 0.75 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.027e-05/1.409, allocations: 100.9 kB / 1.369 GB, free: 0.6445 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/1.409, allocations: 25.7 kB / 1.369 GB, free: 0.6133 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.21e-05/1.409, allocations: 83.52 kB / 1.369 GB, free: 0.5312 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.052e-05/1.409, allocations: 3.906 kB / 1.369 GB, free: 0.5273 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-06/1.409, allocations: 0 / 1.369 GB, free: 0.5273 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001709/1.409, allocations: 321.6 kB / 1.369 GB, free: 212 kB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.597e-05/1.409, allocations: 0 / 1.369 GB, free: 212 kB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.582e-05/1.409, allocations: 7.688 kB / 1.369 GB, free: 208 kB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.32e-05/1.409, allocations: 11.92 kB / 1.369 GB, free: 196 kB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/1.409, allocations: 0 / 1.369 GB, free: 196 kB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.15e-05/1.409, allocations: 44.77 kB / 1.369 GB, free: 148 kB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/1.409, allocations: 4 kB / 1.369 GB, free: 144 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/1.409, allocations: 0 / 1.369 GB, free: 144 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/1.409, allocations: 0 / 1.369 GB, free: 144 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/1.409, allocations: 16.08 kB / 1.369 GB, free: 128 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/1.409, allocations: 3.938 kB / 1.369 GB, free: 124 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.503e-05/1.409, allocations: 16.67 kB / 1.369 GB, free: 112 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.425e-06/1.409, allocations: 3.953 kB / 1.369 GB, free: 108 kB / 0.823 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.58e-05/1.41, allocations: 101 kB / 1.369 GB, free: 0 / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.463e-05/1.41, allocations: 7.953 kB / 1.369 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001302/1.41, allocations: 52.58 kB / 1.369 GB, free: 15.94 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/1.41, allocations: 0 / 1.369 GB, free: 15.94 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/1.41, allocations: 4 kB / 1.369 GB, free: 15.94 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/1.41, allocations: 0 / 1.369 GB, free: 15.94 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001735/1.41, allocations: 157.1 kB / 1.369 GB, free: 15.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/1.41, allocations: 4 kB / 1.369 GB, free: 15.73 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.104e-05/1.41, allocations: 15.8 kB / 1.369 GB, free: 15.72 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/1.41, allocations: 0 / 1.369 GB, free: 15.72 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/1.41, allocations: 0 / 1.369 GB, free: 15.72 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/1.41, allocations: 4.031 kB / 1.369 GB, free: 15.72 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/1.41, allocations: 0 / 1.369 GB, free: 15.72 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001287/1.41, allocations: 142.7 kB / 1.37 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.983e-05/1.41, allocations: 77.11 kB / 1.37 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/1.41, allocations: 0 / 1.37 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.503e-05/1.41, allocations: 15.42 kB / 1.37 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.83e-05/1.41, allocations: 4.031 kB / 1.37 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-06/1.41, allocations: 0 / 1.37 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.472e-05/1.411, allocations: 79.28 kB / 1.37 GB, free: 15.38 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.411, allocations: 0 / 1.37 GB, free: 15.38 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002604/1.411, allocations: 31.48 kB / 1.37 GB, free: 15.35 MB / 0.8386 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003129/1.411, allocations: 127.2 kB / 1.37 GB, free: 15.21 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.775e-05/1.411, allocations: 15.5 kB / 1.37 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.411, allocations: 0 / 1.37 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.544e-05/1.411, allocations: 11.19 kB / 1.37 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000187/1.411, allocations: 7.953 kB / 1.37 GB, free: 15.19 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002267/1.412, allocations: 60.48 kB / 1.37 GB, free: 15.11 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003306/1.412, allocations: 0.6811 MB / 1.371 GB, free: 14.4 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.623e-05/1.412, allocations: 0 / 1.371 GB, free: 14.4 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.633e-05/1.412, allocations: 11.44 kB / 1.371 GB, free: 14.39 MB / 0.8386 GB Notification: Performance of SimCode: time 4.51e-07/1.412, allocations: 0 / 1.371 GB, free: 14.39 MB / 0.8386 GB Notification: Performance of Templates: time 0.00321/1.415, allocations: 0.5646 MB / 1.371 GB, free: 13.84 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ1.csv","../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches