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/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.001016/0.001016, allocations: 80.94 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.001104/0.001104, allocations: 173 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 0.9988/0.9988, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.376/2.376, allocations: 438.8 MB / 0.6826 GB, free: 13.63 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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|J0",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 0.8387 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.419e-05/1.547e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001192/0.001208, allocations: 0.6522 MB / 0.8393 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0003417/0.001549, allocations: 175.4 kB / 0.8395 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.212e-05/0.001562, allocations: 0 / 0.8395 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.349e-05/0.001575, allocations: 0 / 0.8395 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.841e-06/0.001581, allocations: 0 / 0.8395 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002943/0.001875, allocations: 47.72 kB / 0.8395 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 3.813e-05/0.001913, allocations: 3.984 kB / 0.8395 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.084e-05/0.001954, allocations: 11.98 kB / 0.8395 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 2.706e-05/0.001981, allocations: 0 / 0.8395 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 2.091e-05/0.002002, allocations: 0 / 0.8395 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 8.255e-06/0.00201, allocations: 0 / 0.8395 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001726/0.002183, allocations: 59.94 kB / 0.8396 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.289e-05/0.002196, allocations: 3.984 kB / 0.8396 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.079e-05/0.002207, allocations: 3.938 kB / 0.8396 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001009/0.002308, allocations: 43.89 kB / 0.8396 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.473e-06/0.002309, allocations: 0 / 0.8396 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.21e-07/0.00231, allocations: 0 / 0.8396 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.002313, allocations: 3.938 kB / 0.8396 GB, free: 13.17 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002189/0.002532, allocations: 224.7 kB / 0.8399 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.00257, allocations: 8.625 kB / 0.8399 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.541e-05/0.002596, allocations: 0.9375 kB / 0.8399 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.074e-05/0.002677, allocations: 105.8 kB / 0.84 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.002687, allocations: 384 / 0.84 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.372e-06/0.002694, allocations: 384 / 0.84 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.863e-05/0.002762, allocations: 30.25 kB / 0.84 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.002769, allocations: 192 / 0.84 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.65e-06/0.002775, allocations: 384 / 0.84 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.002781, allocations: 8.312 kB / 0.84 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.899e-06/0.002791, allocations: 7.938 kB / 0.84 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.545e-05/0.002856, allocations: 53.08 kB / 0.8401 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.341e-05/0.00289, allocations: 18.58 kB / 0.8401 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.2e-05/0.002902, allocations: 8.859 kB / 0.8401 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003204/0.003222, allocations: 71.98 kB / 0.8402 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.003243, allocations: 30.56 kB / 0.8402 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.003244, allocations: 4 kB / 0.8402 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1): time 7.457e-05/0.003318, allocations: 33.64 kB / 0.8402 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.24e-05/0.003341, allocations: 51.41 kB / 0.8403 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.146e-05/0.003372, allocations: 89.86 kB / 0.8404 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.003383, allocations: 29.7 kB / 0.8404 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.008e-05/0.003403, allocations: 84.14 kB / 0.8405 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/0.003429, allocations: 4.297 kB / 0.8405 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.062e-05/0.003449, allocations: 13.7 kB / 0.8405 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.393e-05/0.003523, allocations: 322.8 kB / 0.8408 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.817e-06/0.003527, allocations: 0 / 0.8408 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.819e-06/0.003532, allocations: 8.125 kB / 0.8408 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.178e-05/0.003554, allocations: 12.8 kB / 0.8408 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.003555, allocations: 0 / 0.8408 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1) (initialization): time 2.929e-05/0.003584, allocations: 29.7 kB / 0.8408 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/0.003594, allocations: 4 kB / 0.8408 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.003598, allocations: 0 / 0.8408 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.003608, allocations: 0 / 0.8408 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.945e-05/0.003637, allocations: 7.984 kB / 0.8409 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.983e-06/0.003639, allocations: 3.938 kB / 0.8409 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.763e-06/0.003646, allocations: 8.031 kB / 0.8409 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.517e-06/0.003649, allocations: 0 / 0.8409 GB, free: 11.77 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 (1): * Single equations (assignments): 1 * 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.8e-05/0.003697, allocations: 113.8 kB / 0.841 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.186e-06/0.003701, allocations: 0 / 0.841 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.074e-05/0.003751, allocations: 44.62 kB / 0.841 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.003753, allocations: 0 / 0.841 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.82e-07/0.003754, allocations: 0 / 0.841 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.003756, allocations: 0 / 0.841 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.903e-05/0.003795, allocations: 61.84 kB / 0.8411 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.003796, allocations: 0 / 0.8411 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.019e-06/0.003801, allocations: 8.031 kB / 0.8411 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.12e-07/0.003802, allocations: 0 / 0.8411 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.806e-06/0.003805, allocations: 0 / 0.8411 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.003807, allocations: 3.984 kB / 0.8411 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.003809, allocations: 3.984 kB / 0.8411 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.973e-05/0.003849, allocations: 65 kB / 0.8412 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.717e-06/0.003853, allocations: 0 / 0.8412 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.421e-06/0.003858, allocations: 0 / 0.8412 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.136e-06/0.003861, allocations: 0 / 0.8412 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.385e-06/0.00387, allocations: 4 kB / 0.8412 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.62e-07/0.00387, allocations: 0 / 0.8412 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 5.28e-06/0.003876, allocations: 8.891 kB / 0.8412 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.003876, allocations: 0 / 0.8412 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001129/0.003989, allocations: 15.98 kB / 0.8412 GB, free: 11.38 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 (1): * Single equations (assignments): 1 * 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.0001156/0.004104, allocations: 100.3 kB / 0.8413 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.27e-05/0.004147, allocations: 12.86 kB / 0.8413 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.004149, allocations: 4.062 kB / 0.8413 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.268e-06/0.004153, allocations: 4.859 kB / 0.8413 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.198e-05/0.004195, allocations: 7.938 kB / 0.8413 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001191/0.004314, allocations: 74.38 kB / 0.8414 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.517e-05/0.004339, allocations: 59.34 kB / 0.8414 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 8.526e-06/0.004348, allocations: 4 kB / 0.8414 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.264e-05/0.00437, allocations: 47.38 kB / 0.8415 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of SimCode: time 4.61e-07/0.004371, allocations: 0 / 0.8415 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of Templates: time 0.00168/0.006051, allocations: 480.2 kB / 0.8419 GB, free: 10.54 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile [Timeout 300] (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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_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.164323940873146]