Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.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.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1",fileNamePrefix="Buildings_9_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_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.313/2.313, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001085/0.001085, allocations: 179.3 kB / 498.1 MB, free: 5.742 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.544/1.544, allocations: 223.2 MB / 0.7948 GB, free: 17.84 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.0008681/0.0008681, allocations: 98.28 kB / 0.9346 GB, free: 6.148 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004005/0.0004007, allocations: 14.28 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3377, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1983/0.5361, allocations: 148.7 MB / 1.368 GB, free: 13.32 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/0.5365, allocations: 71.95 kB / 1.368 GB, free: 13.25 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003551/0.54, allocations: 1.296 MB / 1.369 GB, free: 11.95 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.983e-06/0.54, allocations: 0 / 1.369 GB, free: 11.95 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.5401, allocations: 4 kB / 1.369 GB, free: 11.95 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.0002662/0.5403, allocations: 315.4 kB / 1.37 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.5404, allocations: 12.02 kB / 1.37 GB, free: 11.58 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.613e-05/0.5404, allocations: 8 kB / 1.37 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.5406, allocations: 167 kB / 1.37 GB, free: 11.37 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.5406, allocations: 7.984 kB / 1.37 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.898e-06/0.5406, allocations: 0 / 1.37 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.5407, allocations: 25.7 kB / 1.37 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.5407, allocations: 0 / 1.37 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.5407, allocations: 4 kB / 1.37 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.5408, allocations: 0 / 1.37 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.288e-05/0.5408, allocations: 0 / 1.37 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001758/0.541, allocations: 153.6 kB / 1.37 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.746e-05/0.541, allocations: 30.55 kB / 1.37 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006377/0.5417, allocations: 441.5 kB / 1.371 GB, free: 10.56 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.5417, allocations: 34.56 kB / 1.371 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 5.199e-06/0.5417, allocations: 4 kB / 1.371 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0001438/0.5419, allocations: 33.69 kB / 1.371 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.5419, allocations: 51.41 kB / 1.371 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.412e-05/0.5419, allocations: 85 kB / 1.371 GB, free: 10.32 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.542, allocations: 25.7 kB / 1.371 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 2.756e-05/0.542, allocations: 84.08 kB / 1.371 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.477e-05/0.542, allocations: 4 kB / 1.371 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.863e-06/0.542, allocations: 0 / 1.371 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.5422, allocations: 311 kB / 1.371 GB, free: 9.891 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.454e-06/0.5422, allocations: 7.938 kB / 1.371 GB, free: 9.883 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.631e-06/0.5422, allocations: 4 kB / 1.371 GB, free: 9.879 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.735e-05/0.5422, allocations: 4 kB / 1.371 GB, free: 9.875 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.5422, allocations: 3.953 kB / 1.371 GB, free: 9.871 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.239e-05/0.5423, allocations: 37.59 kB / 1.371 GB, free: 9.828 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.5423, allocations: 4 kB / 1.371 GB, free: 9.824 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.5423, allocations: 0 / 1.371 GB, free: 9.824 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.5424, allocations: 7.938 kB / 1.371 GB, free: 9.816 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.399e-05/0.5424, allocations: 96 / 1.371 GB, free: 9.816 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.5424, allocations: 4 kB / 1.371 GB, free: 9.812 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.848e-06/0.5424, allocations: 0 / 1.371 GB, free: 9.812 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.5424, allocations: 4 kB / 1.371 GB, free: 9.809 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 8.193e-05/0.5425, allocations: 111.4 kB / 1.371 GB, free: 9.691 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.812e-06/0.5425, allocations: 3.953 kB / 1.371 GB, free: 9.688 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.699e-05/0.5426, allocations: 44.75 kB / 1.371 GB, free: 9.637 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.5426, allocations: 0 / 1.371 GB, free: 9.637 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.5426, allocations: 0 / 1.371 GB, free: 9.637 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-06/0.5427, allocations: 4.031 kB / 1.371 GB, free: 9.633 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.675e-05/0.5428, allocations: 141.7 kB / 1.372 GB, free: 9.445 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.5428, allocations: 4 kB / 1.372 GB, free: 9.441 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.417e-05/0.5428, allocations: 7.938 kB / 1.372 GB, free: 9.434 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.5428, allocations: 0 / 1.372 GB, free: 9.434 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.5428, allocations: 0 / 1.372 GB, free: 9.434 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.5428, allocations: 0 / 1.372 GB, free: 9.434 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.5428, allocations: 0 / 1.372 GB, free: 9.434 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.87e-05/0.5429, allocations: 65.08 kB / 1.372 GB, free: 9.352 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.502e-05/0.5429, allocations: 77.11 kB / 1.372 GB, free: 9.258 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.543, allocations: 7.938 kB / 1.372 GB, free: 9.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.572e-06/0.543, allocations: 0 / 1.372 GB, free: 9.25 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.507e-05/0.543, allocations: 0 / 1.372 GB, free: 9.25 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.543, allocations: 4 kB / 1.372 GB, free: 9.246 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.045e-05/0.543, allocations: 75.28 kB / 1.372 GB, free: 9.172 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1e-07/0.543, allocations: 3.938 kB / 1.372 GB, free: 9.168 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002284/0.5433, allocations: 16 kB / 1.372 GB, free: 9.152 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.0002698/0.5435, allocations: 149.4 kB / 1.372 GB, free: 9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 6.228e-05/0.5436, allocations: 4 kB / 1.372 GB, free: 8.996 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5436, allocations: 0 / 1.372 GB, free: 8.996 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.946e-05/0.5436, allocations: 11.98 kB / 1.372 GB, free: 8.984 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.547e-05/0.5437, allocations: 0 / 1.372 GB, free: 8.984 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001914/0.5439, allocations: 74.77 kB / 1.372 GB, free: 8.883 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.5442, allocations: 0.677 MB / 1.373 GB, free: 8.18 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 1.438e-05/0.5442, allocations: 4 kB / 1.373 GB, free: 8.176 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.267e-05/0.5442, allocations: 7.438 kB / 1.373 GB, free: 8.168 MB / 0.8698 GB Notification: Performance of SimCode: time 2.81e-07/0.5442, allocations: 0 / 1.373 GB, free: 8.168 MB / 0.8698 GB Notification: Performance of Templates: time 0.002354/0.5466, allocations: 371.9 kB / 1.373 GB, free: 7.805 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches