Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.449/2.449, allocations: 393.5 MB / 408.4 MB, free: 11.07 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.001597/0.001597, allocations: 187.9 kB / 0.4902 GB, free: 2.234 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.604/1.604, allocations: 223.2 MB / 0.7992 GB, free: 15.68 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.001002/0.001002, allocations: 94.66 kB / 0.9396 GB, free: 2.855 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005027/0.0005027, allocations: 15.94 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2969, allocations: 143 MB / 1.229 GB, free: 85.46 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.197/0.4939, allocations: 149.5 MB / 1.375 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002485/0.4942, allocations: 75.95 kB / 1.375 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.003675/0.4979, allocations: 1.255 MB / 1.376 GB, free: 14.47 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.744e-06/0.4979, allocations: 0 / 1.376 GB, free: 14.47 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.4979, allocations: 0 / 1.376 GB, free: 14.47 MB / 0.8855 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.0002738/0.4982, allocations: 331.4 kB / 1.377 GB, free: 14.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.4983, allocations: 8.562 kB / 1.377 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.594e-05/0.4983, allocations: 0 / 1.377 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.4984, allocations: 163 kB / 1.377 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.4985, allocations: 0 / 1.377 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.4985, allocations: 7.984 kB / 1.377 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.4986, allocations: 29.7 kB / 1.377 GB, free: 13.85 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.4986, allocations: 0 / 1.377 GB, free: 13.85 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.4986, allocations: 3.984 kB / 1.377 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.4986, allocations: 0 / 1.377 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.98e-05/0.4987, allocations: 4 kB / 1.377 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001452/0.4988, allocations: 149.6 kB / 1.377 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 4.105e-05/0.4989, allocations: 18.52 kB / 1.377 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006049/0.4995, allocations: 445.6 kB / 1.378 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.4995, allocations: 34.56 kB / 1.378 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=1): time 1.253e-06/0.4995, allocations: 0 / 1.378 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of matching and sorting (n=1): time 0.0001417/0.4997, allocations: 37.62 kB / 1.378 GB, free: 13 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.4997, allocations: 51.41 kB / 1.378 GB, free: 12.94 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.42e-05/0.4998, allocations: 89.12 kB / 1.378 GB, free: 12.85 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.4998, allocations: 25.7 kB / 1.378 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 3.251e-05/0.4998, allocations: 84.14 kB / 1.378 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.179e-05/0.4999, allocations: 3.938 kB / 1.378 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.034e-06/0.4999, allocations: 4 kB / 1.378 GB, free: 12.72 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.968e-05/0.5, allocations: 310.8 kB / 1.378 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.145e-06/0.5, allocations: 0 / 1.378 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.219e-06/0.5, allocations: 0 / 1.378 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.85e-05/0.5, allocations: 8.062 kB / 1.378 GB, free: 12.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.5, allocations: 3.953 kB / 1.378 GB, free: 12.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.555e-05/0.5001, allocations: 37.59 kB / 1.378 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.5001, allocations: 4.938 kB / 1.378 GB, free: 12.35 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.5001, allocations: 0 / 1.378 GB, free: 12.35 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.5002, allocations: 0 / 1.378 GB, free: 12.35 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.705e-05/0.5002, allocations: 7.938 kB / 1.378 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/0.5002, allocations: 3.938 kB / 1.378 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.648e-06/0.5002, allocations: 3.938 kB / 1.378 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.5002, allocations: 0 / 1.378 GB, free: 12.34 MB / 0.8855 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 7.34e-05/0.5003, allocations: 117.9 kB / 1.378 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.285e-06/0.5003, allocations: 3.953 kB / 1.378 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.09e-05/0.5004, allocations: 40.81 kB / 1.378 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.5004, allocations: 0 / 1.378 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.5004, allocations: 0 / 1.378 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.5004, allocations: 0 / 1.378 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.2e-05/0.5005, allocations: 145.7 kB / 1.379 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.5005, allocations: 0 / 1.379 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.879e-05/0.5006, allocations: 11.94 kB / 1.379 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.5006, allocations: 4.031 kB / 1.379 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.039e-06/0.5006, allocations: 0 / 1.379 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.5006, allocations: 0 / 1.379 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.5006, allocations: 3.938 kB / 1.379 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.636e-05/0.5007, allocations: 57.14 kB / 1.379 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.097e-05/0.5007, allocations: 77.11 kB / 1.379 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.5007, allocations: 7.938 kB / 1.379 GB, free: 11.78 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.185e-06/0.5007, allocations: 4.031 kB / 1.379 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.012e-05/0.5008, allocations: 0 / 1.379 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.5008, allocations: 4 kB / 1.379 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 2.371e-05/0.5008, allocations: 75.28 kB / 1.379 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5008, allocations: 0 / 1.379 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000216/0.501, allocations: 20 kB / 1.379 GB, free: 11.68 MB / 0.8855 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.0002654/0.5013, allocations: 128 kB / 1.379 GB, free: 11.54 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 5.773e-05/0.5014, allocations: 7.938 kB / 1.379 GB, free: 11.54 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5014, allocations: 0 / 1.379 GB, free: 11.54 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 7.344e-06/0.5014, allocations: 4 kB / 1.379 GB, free: 11.53 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.977e-05/0.5015, allocations: 0 / 1.379 GB, free: 11.53 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001686/0.5016, allocations: 82.81 kB / 1.379 GB, free: 11.42 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002057/0.5019, allocations: 0.677 MB / 1.38 GB, free: 10.72 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 1.224e-05/0.5019, allocations: 0 / 1.38 GB, free: 10.72 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.432e-05/0.5019, allocations: 11.42 kB / 1.38 GB, free: 10.71 MB / 0.8855 GB Notification: Performance of SimCode: time 4.31e-07/0.5019, allocations: 0 / 1.38 GB, free: 10.71 MB / 0.8855 GB Notification: Performance of Templates: time 0.002189/0.5041, allocations: 377.4 kB / 1.38 GB, free: 10.34 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches