Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.065/1.065, allocations: 177.1 MB / 203.8 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.449/2.449, allocations: 438.8 MB / 0.6827 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.002e-05/2.186e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002157/0.002178, allocations: 1.538 MB / 0.8401 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0004236/0.002602, allocations: 235.1 kB / 0.8404 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.931e-05/0.002631, allocations: 4 kB / 0.8404 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.932e-05/0.002661, allocations: 3.938 kB / 0.8404 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.667e-05/0.002707, allocations: 7.922 kB / 0.8404 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002814/0.002989, allocations: 51.81 kB / 0.8404 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.052e-05/0.003049, allocations: 15.94 kB / 0.8404 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.616e-05/0.003125, allocations: 11.98 kB / 0.8404 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 5.478e-05/0.00318, allocations: 12 kB / 0.8405 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.597e-05/0.003216, allocations: 15.91 kB / 0.8405 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 9.618e-06/0.003226, allocations: 0 / 0.8405 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001406/0.003366, allocations: 63.88 kB / 0.8405 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.401e-05/0.00338, allocations: 8 kB / 0.8405 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.138e-05/0.003392, allocations: 0 / 0.8405 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.003506, allocations: 63.78 kB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.353e-06/0.003508, allocations: 0 / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.11e-07/0.003508, allocations: 0 / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.003514, allocations: 4 kB / 0.8406 GB, free: 12.14 MB / 0.8073 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.0002646/0.003779, allocations: 240.9 kB / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.003809, allocations: 12.62 kB / 0.8408 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.426e-05/0.003834, allocations: 4.922 kB / 0.8408 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.061e-05/0.003904, allocations: 109.8 kB / 0.841 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.705e-06/0.003912, allocations: 384 / 0.841 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.161e-06/0.003918, allocations: 4.375 kB / 0.841 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.004026, allocations: 58.88 kB / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.004032, allocations: 192 / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.00404, allocations: 384 / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.004045, allocations: 384 / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.97e-05/0.004064, allocations: 11.92 kB / 0.841 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001896/0.004254, allocations: 148.3 kB / 0.8412 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.413e-05/0.004298, allocations: 26.55 kB / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.444e-05/0.004312, allocations: 8.922 kB / 0.8412 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002459/0.004558, allocations: 59.94 kB / 0.8413 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.004583, allocations: 38.56 kB / 0.8413 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.004584, allocations: 4 kB / 0.8413 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 9.63e-05/0.00468, allocations: 33.69 kB / 0.8413 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.398e-05/0.004704, allocations: 59.34 kB / 0.8414 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.929e-05/0.004754, allocations: 98.72 kB / 0.8415 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.277e-06/0.004763, allocations: 33.62 kB / 0.8415 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.865e-05/0.004792, allocations: 84.12 kB / 0.8416 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.723e-05/0.004809, allocations: 7.953 kB / 0.8416 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.106e-05/0.00483, allocations: 13.66 kB / 0.8416 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.447e-05/0.004904, allocations: 318.8 kB / 0.8419 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.181e-05/0.004916, allocations: 0 / 0.8419 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.265e-06/0.004924, allocations: 8.125 kB / 0.8419 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.942e-05/0.004944, allocations: 12.84 kB / 0.8419 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.004945, allocations: 0 / 0.8419 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.012e-05/0.004985, allocations: 29.7 kB / 0.842 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.004998, allocations: 11.98 kB / 0.842 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.005003, allocations: 4 kB / 0.842 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.005013, allocations: 0 / 0.842 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.677e-05/0.00506, allocations: 11.88 kB / 0.842 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.798e-06/0.005064, allocations: 3.984 kB / 0.842 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.449e-05/0.005078, allocations: 8.094 kB / 0.842 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.666e-06/0.005082, allocations: 0 / 0.842 GB, free: 10.54 MB / 0.8073 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.779e-05/0.005129, allocations: 121.8 kB / 0.8421 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.256e-05/0.005142, allocations: 0 / 0.8421 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.193e-05/0.005214, allocations: 41 kB / 0.8422 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.005216, allocations: 0 / 0.8422 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.005219, allocations: 7.938 kB / 0.8422 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.005222, allocations: 0 / 0.8422 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.005331, allocations: 61.91 kB / 0.8422 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.005332, allocations: 0 / 0.8422 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.435e-05/0.005367, allocations: 12.02 kB / 0.8422 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.005369, allocations: 0 / 0.8422 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.909e-06/0.005374, allocations: 0 / 0.8422 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.005375, allocations: 3.938 kB / 0.8422 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.005376, allocations: 4 kB / 0.8422 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.744e-05/0.005463, allocations: 131.5 kB / 0.8424 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.152e-06/0.005469, allocations: 0 / 0.8424 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.518e-06/0.005479, allocations: 0 / 0.8424 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.173e-05/0.005531, allocations: 4 kB / 0.8424 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.7e-05/0.005558, allocations: 7.984 kB / 0.8424 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-06/0.00556, allocations: 4.031 kB / 0.8424 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.446e-05/0.005574, allocations: 16.97 kB / 0.8424 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005574, allocations: 0 / 0.8424 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.00013/0.005704, allocations: 16 kB / 0.8424 GB, free: 10.06 MB / 0.8073 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001266/0.005831, allocations: 104.3 kB / 0.8425 GB, free: 9.953 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.367e-05/0.005884, allocations: 20.78 kB / 0.8425 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.005887, allocations: 0 / 0.8425 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.401e-05/0.005901, allocations: 8.859 kB / 0.8425 GB, free: 9.918 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001193/0.00602, allocations: 8 kB / 0.8426 GB, free: 9.91 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000185/0.006205, allocations: 96.83 kB / 0.8426 GB, free: 9.789 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.104e-05/0.006236, allocations: 51.36 kB / 0.8427 GB, free: 9.719 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.459e-05/0.006251, allocations: 4 kB / 0.8427 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.327e-05/0.006294, allocations: 55.48 kB / 0.8428 GB, free: 9.66 MB / 0.8073 GB Notification: Performance of SimCode: time 4.51e-07/0.006295, allocations: 4 kB / 0.8428 GB, free: 9.656 MB / 0.8073 GB Notification: Performance of Templates: time 0.002149/0.008443, allocations: 0.6974 MB / 0.8434 GB, free: 8.973 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ0.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.305724958889186]