Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.091/2.091, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001045/0.001045, allocations: 180.5 kB / 487.4 MB, free: 5.059 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 221.5 MB / 0.7824 GB, free: 0.9961 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009003/0.0009003, allocations: 109.4 kB / 0.9219 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.654e-05/1.656e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2112, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7534/0.9646, allocations: 148.7 MB / 1.351 GB, free: 18.34 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002024/0.9649, allocations: 75.81 kB / 1.351 GB, free: 18.34 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004525/0.9694, allocations: 1.522 MB / 1.353 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9695, allocations: 0 / 1.353 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.9695, allocations: 0 / 1.353 GB, free: 33.97 MB / 0.8386 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.0002994/0.9698, allocations: 356.3 kB / 1.353 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.9698, allocations: 8.531 kB / 1.353 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.54e-05/0.9698, allocations: 4.375 kB / 1.353 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.202e-05/0.9699, allocations: 175.4 kB / 1.353 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.9699, allocations: 0.6562 kB / 1.353 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.725e-06/0.97, allocations: 0 / 1.353 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.046e-05/0.97, allocations: 11.92 kB / 1.353 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.025e-05/0.9701, allocations: 31.5 kB / 1.353 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.9701, allocations: 7.938 kB / 1.353 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.9701, allocations: 0.7969 kB / 1.353 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.9701, allocations: 0 / 1.353 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003378/0.9705, allocations: 252.8 kB / 1.354 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.843e-05/0.9705, allocations: 26.33 kB / 1.354 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.261e-05/0.9706, allocations: 12.88 kB / 1.354 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004281/0.971, allocations: 438.9 kB / 1.354 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.357e-05/0.971, allocations: 35.3 kB / 1.354 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.971, allocations: 0 / 1.354 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001528/0.9712, allocations: 46.36 kB / 1.354 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.583e-05/0.9712, allocations: 51.41 kB / 1.354 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.824e-05/0.9713, allocations: 97.3 kB / 1.354 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.483e-06/0.9713, allocations: 25.7 kB / 1.354 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.755e-05/0.9713, allocations: 84.78 kB / 1.354 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.354e-05/0.9714, allocations: 4.609 kB / 1.354 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-06/0.9714, allocations: 3.812 kB / 1.354 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.9715, allocations: 318.8 kB / 1.355 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.394e-05/0.9715, allocations: 7.906 kB / 1.355 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.037e-05/0.9715, allocations: 3.938 kB / 1.355 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.814e-05/0.9716, allocations: 4.641 kB / 1.355 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.9716, allocations: 0 / 1.355 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.888e-05/0.9716, allocations: 43.16 kB / 1.355 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.9717, allocations: 3.844 kB / 1.355 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.9717, allocations: 0 / 1.355 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.9717, allocations: 0.6094 kB / 1.355 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.811e-05/0.9718, allocations: 14.55 kB / 1.355 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.9718, allocations: 0 / 1.355 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.153e-05/0.9719, allocations: 12.69 kB / 1.355 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.9719, allocations: 0 / 1.355 GB, free: 31.91 MB / 0.8386 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 5.7e-05/0.9719, allocations: 110.8 kB / 1.355 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.299e-05/0.972, allocations: 7.75 kB / 1.355 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.775e-05/0.9721, allocations: 48.56 kB / 1.355 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.9721, allocations: 4.031 kB / 1.355 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.9721, allocations: 0 / 1.355 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.9721, allocations: 0.75 kB / 1.355 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.624e-05/0.9722, allocations: 130.8 kB / 1.355 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.9722, allocations: 3.953 kB / 1.355 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.067e-05/0.9723, allocations: 18.08 kB / 1.355 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.9723, allocations: 0 / 1.355 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.9723, allocations: 4.688 kB / 1.355 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.9723, allocations: 0 / 1.355 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.9723, allocations: 6.25 kB / 1.355 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001092/0.9724, allocations: 140.7 kB / 1.355 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.574e-05/0.9724, allocations: 81.72 kB / 1.355 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.9724, allocations: 0.5156 kB / 1.355 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.18e-05/0.9725, allocations: 10.17 kB / 1.355 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.13e-05/0.9726, allocations: 1.406 kB / 1.355 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.9726, allocations: 7.844 kB / 1.355 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.34e-05/0.9726, allocations: 80.39 kB / 1.355 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9726, allocations: 0 / 1.355 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002486/0.9729, allocations: 23.48 kB / 1.355 GB, free: 31.26 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.0002055/0.9731, allocations: 127.3 kB / 1.355 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.837e-05/0.9732, allocations: 13.75 kB / 1.355 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.9732, allocations: 0 / 1.355 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.939e-05/0.9732, allocations: 12.75 kB / 1.355 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/0.9734, allocations: 2.609 kB / 1.355 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001681/0.9735, allocations: 57.98 kB / 1.356 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/0.9738, allocations: 0.6775 MB / 1.356 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.219e-05/0.9738, allocations: 6 kB / 1.356 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.739e-05/0.9738, allocations: 8.781 kB / 1.356 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of SimCode: time 3.6e-07/0.9738, allocations: 0 / 1.356 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of Templates: time 0.002326/0.9762, allocations: 0.532 MB / 1.357 GB, free: 30.33 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches