Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0",fileNamePrefix="Buildings_9_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_9_Buildings.Utilities.Math.Functions.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.333/2.333, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001362/0.001362, allocations: 170.6 kB / 498.1 MB, free: 5.723 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.674/1.674, allocations: 223.2 MB / 0.7948 GB, free: 17.87 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.00101/0.001009, allocations: 97.14 kB / 0.9346 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003887/0.0003887, allocations: 10.5 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3413, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.203/0.5444, allocations: 148.7 MB / 1.368 GB, free: 13.36 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/0.5447, allocations: 79.95 kB / 1.368 GB, free: 13.28 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003793/0.5485, allocations: 1.241 MB / 1.369 GB, free: 12.04 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.855e-06/0.5485, allocations: 4 kB / 1.369 GB, free: 12.04 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.296e-06/0.5486, allocations: 0 / 1.369 GB, free: 12.04 MB / 0.8698 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.000375/0.5489, allocations: 329.1 kB / 1.37 GB, free: 11.67 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.63e-05/0.549, allocations: 8.031 kB / 1.37 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.82e-05/0.5491, allocations: 11.94 kB / 1.37 GB, free: 11.65 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.5492, allocations: 167 kB / 1.37 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.5493, allocations: 0 / 1.37 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.5493, allocations: 0 / 1.37 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.5494, allocations: 29.64 kB / 1.37 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.5495, allocations: 0 / 1.37 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.5495, allocations: 4 kB / 1.37 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.5495, allocations: 0 / 1.37 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.59e-05/0.5495, allocations: 0 / 1.37 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002374/0.5498, allocations: 153.6 kB / 1.37 GB, free: 11.21 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.47e-05/0.5498, allocations: 22.59 kB / 1.37 GB, free: 11.18 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007072/0.5506, allocations: 441.5 kB / 1.37 GB, free: 10.65 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/0.5506, allocations: 38.5 kB / 1.371 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 4.568e-06/0.5506, allocations: 3.984 kB / 1.371 GB, free: 10.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0002061/0.5508, allocations: 29.7 kB / 1.371 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/0.5509, allocations: 51.41 kB / 1.371 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.636e-05/0.551, allocations: 85 kB / 1.371 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.551, allocations: 29.7 kB / 1.371 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.769e-05/0.551, allocations: 84.14 kB / 1.371 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.5e-05/0.5511, allocations: 3.906 kB / 1.371 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-06/0.5511, allocations: 0 / 1.371 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001856/0.5513, allocations: 315 kB / 1.371 GB, free: 9.973 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.849e-06/0.5513, allocations: 3.938 kB / 1.371 GB, free: 9.969 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.06e-05/0.5513, allocations: 7.984 kB / 1.371 GB, free: 9.961 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.544e-05/0.5514, allocations: 0 / 1.371 GB, free: 9.961 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.5514, allocations: 7.891 kB / 1.371 GB, free: 9.953 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.9e-05/0.5514, allocations: 29.7 kB / 1.371 GB, free: 9.918 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.5515, allocations: 8 kB / 1.371 GB, free: 9.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.5515, allocations: 0 / 1.371 GB, free: 9.91 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.373e-05/0.5515, allocations: 4.094 kB / 1.371 GB, free: 9.906 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.017e-05/0.5516, allocations: 0 / 1.371 GB, free: 9.906 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.5516, allocations: 0 / 1.371 GB, free: 9.906 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.448e-05/0.5516, allocations: 4 kB / 1.371 GB, free: 9.902 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.5516, allocations: 4 kB / 1.371 GB, free: 9.898 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001015/0.5517, allocations: 117.8 kB / 1.371 GB, free: 9.773 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.116e-05/0.5518, allocations: 3.953 kB / 1.371 GB, free: 9.77 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001057/0.5519, allocations: 36.77 kB / 1.371 GB, free: 9.727 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.5519, allocations: 32 / 1.371 GB, free: 9.727 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.5519, allocations: 4 kB / 1.371 GB, free: 9.723 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.5519, allocations: 0 / 1.371 GB, free: 9.723 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001318/0.552, allocations: 149.7 kB / 1.371 GB, free: 9.527 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.5521, allocations: 0 / 1.371 GB, free: 9.527 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.663e-05/0.5521, allocations: 7.891 kB / 1.371 GB, free: 9.52 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.5521, allocations: 0 / 1.371 GB, free: 9.52 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.5521, allocations: 0 / 1.371 GB, free: 9.52 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.5521, allocations: 4 kB / 1.371 GB, free: 9.516 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.5521, allocations: 0 / 1.371 GB, free: 9.516 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.747e-05/0.5522, allocations: 61.12 kB / 1.372 GB, free: 9.438 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.885e-05/0.5523, allocations: 77.11 kB / 1.372 GB, free: 9.344 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.5523, allocations: 3.953 kB / 1.372 GB, free: 9.34 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.634e-06/0.5523, allocations: 7.938 kB / 1.372 GB, free: 9.332 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.923e-05/0.5524, allocations: 0 / 1.372 GB, free: 9.332 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.5524, allocations: 0 / 1.372 GB, free: 9.332 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.913e-05/0.5524, allocations: 75.28 kB / 1.372 GB, free: 9.258 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1e-07/0.5524, allocations: 0 / 1.372 GB, free: 9.258 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002563/0.5527, allocations: 24.03 kB / 1.372 GB, free: 9.234 MB / 0.8698 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 (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.0004006/0.5531, allocations: 142.9 kB / 1.372 GB, free: 9.086 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 9.197e-05/0.5532, allocations: 4 kB / 1.372 GB, free: 9.082 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.5532, allocations: 64 / 1.372 GB, free: 9.082 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.326e-06/0.5532, allocations: 4 kB / 1.372 GB, free: 9.078 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001154/0.5533, allocations: 0.9375 kB / 1.372 GB, free: 9.078 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002867/0.5536, allocations: 78.77 kB / 1.372 GB, free: 8.973 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.5539, allocations: 0.677 MB / 1.373 GB, free: 8.27 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 1.576e-05/0.554, allocations: 0 / 1.373 GB, free: 8.27 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.642e-05/0.554, allocations: 11.44 kB / 1.373 GB, free: 8.258 MB / 0.8698 GB Notification: Performance of SimCode: time 2.2e-07/0.554, allocations: 0 / 1.373 GB, free: 8.258 MB / 0.8698 GB Notification: Performance of Templates: time 0.002889/0.5569, allocations: 376 kB / 1.373 GB, free: 7.891 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches