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.031/2.031, allocations: 387.4 MB / 394.9 MB, free: 13.47 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.0009423/0.0009422, allocations: 188.7 kB / 487.4 MB, free: 5.07 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.312/1.312, allocations: 221.5 MB / 0.7824 GB, free: 1.039 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.000872/0.0008721, allocations: 91.92 kB / 0.9219 GB, free: 2.285 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.787e-05/1.789e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2297, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7994/1.029, allocations: 148 MB / 1.35 GB, free: 18.45 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002317/1.03, allocations: 72.67 kB / 1.351 GB, free: 18.45 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003776/1.033, allocations: 1.273 MB / 1.352 GB, free: 34.09 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.483e-06/1.033, allocations: 1.422 kB / 1.352 GB, free: 34.09 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.42e-06/1.033, allocations: 0 / 1.352 GB, free: 34.09 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001963/1.034, allocations: 324.8 kB / 1.352 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/1.034, allocations: 10.28 kB / 1.352 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.299e-05/1.034, allocations: 3.938 kB / 1.352 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.636e-05/1.034, allocations: 163.8 kB / 1.352 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/1.034, allocations: 2.109 kB / 1.352 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.245e-06/1.034, allocations: 0 / 1.352 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.744e-05/1.034, allocations: 7.781 kB / 1.352 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.313e-05/1.034, allocations: 31.59 kB / 1.352 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/1.034, allocations: 3.938 kB / 1.352 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-06/1.034, allocations: 1.344 kB / 1.352 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/1.034, allocations: 0.6094 kB / 1.352 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.895e-05/1.034, allocations: 128.3 kB / 1.352 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 2.755e-05/1.034, allocations: 16.5 kB / 1.352 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.486e-05/1.034, allocations: 6.109 kB / 1.352 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005157/1.035, allocations: 449.5 kB / 1.353 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/1.035, allocations: 35.11 kB / 1.353 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/1.035, allocations: 1.281 kB / 1.353 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001402/1.035, allocations: 36.77 kB / 1.353 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.69e-05/1.035, allocations: 56.72 kB / 1.353 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.372e-05/1.035, allocations: 85 kB / 1.353 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.312e-06/1.035, allocations: 25.7 kB / 1.353 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.817e-05/1.035, allocations: 80.94 kB / 1.353 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.396e-05/1.035, allocations: 1.969 kB / 1.353 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.374e-06/1.035, allocations: 0 / 1.353 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001146/1.035, allocations: 313 kB / 1.353 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.374e-06/1.035, allocations: 0 / 1.353 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.829e-06/1.035, allocations: 5.312 kB / 1.353 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.912e-05/1.035, allocations: 5.391 kB / 1.354 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/1.035, allocations: 0 / 1.354 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.297e-05/1.035, allocations: 43.45 kB / 1.354 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/1.035, allocations: 6.109 kB / 1.354 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/1.035, allocations: 0 / 1.354 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/1.035, allocations: 0 / 1.354 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.828e-05/1.035, allocations: 3.141 kB / 1.354 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/1.035, allocations: 0 / 1.354 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.006e-05/1.035, allocations: 0.8438 kB / 1.354 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/1.035, allocations: 5.312 kB / 1.354 GB, free: 32.12 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 (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 6.64e-05/1.035, allocations: 102.3 kB / 1.354 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.763e-06/1.035, allocations: 4.609 kB / 1.354 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.854e-05/1.035, allocations: 35.5 kB / 1.354 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/1.035, allocations: 1.219 kB / 1.354 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/1.035, allocations: 0 / 1.354 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/1.035, allocations: 0.7969 kB / 1.354 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.801e-05/1.035, allocations: 130 kB / 1.354 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/1.035, allocations: 12.7 kB / 1.354 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.078e-05/1.035, allocations: 1.344 kB / 1.354 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/1.036, allocations: 5.219 kB / 1.354 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/1.036, allocations: 0.7969 kB / 1.354 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/1.036, allocations: 5.266 kB / 1.354 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/1.036, allocations: 0 / 1.354 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.926e-05/1.036, allocations: 52.88 kB / 1.354 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.909e-05/1.036, allocations: 77.72 kB / 1.354 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.946e-06/1.036, allocations: 5.375 kB / 1.354 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.833e-06/1.036, allocations: 0.7031 kB / 1.354 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.189e-05/1.036, allocations: 5.266 kB / 1.354 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/1.036, allocations: 0.75 kB / 1.354 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.989e-05/1.036, allocations: 76.59 kB / 1.354 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.11e-07/1.036, allocations: 0 / 1.354 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001916/1.036, allocations: 29.86 kB / 1.354 GB, free: 31.55 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 (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.0002338/1.036, allocations: 130.7 kB / 1.354 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.459e-05/1.036, allocations: 7.719 kB / 1.354 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/1.036, allocations: 0 / 1.354 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.22e-06/1.036, allocations: 1.953 kB / 1.354 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.043e-05/1.036, allocations: 1.344 kB / 1.354 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000119/1.036, allocations: 44.28 kB / 1.354 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/1.037, allocations: 0.6738 MB / 1.355 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.157e-05/1.037, allocations: 3.562 kB / 1.355 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.084e-05/1.037, allocations: 8.188 kB / 1.355 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of SimCode: time 2.01e-07/1.037, allocations: 1.25 kB / 1.355 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of Templates: time 0.002076/1.039, allocations: 379.2 kB / 1.355 GB, free: 30.62 MB / 0.8386 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