Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.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.000923/0.000923, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009623/0.0009623, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.9911/0.9911, allocations: 177.2 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.391/2.391, allocations: 438.8 MB / 0.6827 GB, free: 13.57 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.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.293e-05/2.514e-05, allocations: 10.19 kB / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002951/0.002977, allocations: 1.483 MB / 0.84 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0004443/0.003421, allocations: 251 kB / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.699e-05/0.003448, allocations: 0 / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.634e-05/0.003474, allocations: 3.938 kB / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.241e-05/0.003517, allocations: 7.938 kB / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000317/0.003834, allocations: 63.73 kB / 0.8403 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 4.804e-05/0.003882, allocations: 15.94 kB / 0.8404 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 6.212e-05/0.003944, allocations: 11.98 kB / 0.8404 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 4.486e-05/0.003989, allocations: 12 kB / 0.8404 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 2.813e-05/0.004017, allocations: 7.984 kB / 0.8404 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 8.836e-06/0.004025, allocations: 0 / 0.8404 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.004129, allocations: 71.8 kB / 0.8405 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 9.688e-06/0.004139, allocations: 4 kB / 0.8405 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.148e-05/0.00415, allocations: 0 / 0.8405 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001125/0.004262, allocations: 67.78 kB / 0.8405 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.503e-06/0.004264, allocations: 0 / 0.8405 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.81e-07/0.004265, allocations: 0 / 0.8405 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.045e-06/0.004268, allocations: 0 / 0.8405 GB, free: 12.19 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.0002708/0.004539, allocations: 240.9 kB / 0.8408 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.942e-05/0.004568, allocations: 12.62 kB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.155e-05/0.00459, allocations: 0.9375 kB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.721e-05/0.004667, allocations: 109.8 kB / 0.8409 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.804e-06/0.004675, allocations: 384 / 0.8409 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.004686, allocations: 8.375 kB / 0.8409 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.112e-05/0.004767, allocations: 54.88 kB / 0.8409 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.141e-06/0.004773, allocations: 192 / 0.8409 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.00478, allocations: 4.375 kB / 0.8409 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.016e-06/0.004783, allocations: 384 / 0.8409 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.923e-05/0.004802, allocations: 7.922 kB / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001705/0.004973, allocations: 148.4 kB / 0.8411 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.476e-05/0.005008, allocations: 30.5 kB / 0.8411 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.082e-05/0.005018, allocations: 4.859 kB / 0.8411 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002403/0.005259, allocations: 71.98 kB / 0.8412 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.475e-05/0.005273, allocations: 34.56 kB / 0.8412 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.005274, allocations: 4 kB / 0.8412 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 6.752e-05/0.005342, allocations: 29.7 kB / 0.8413 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.413e-05/0.005366, allocations: 59.34 kB / 0.8413 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.8e-05/0.005414, allocations: 102.7 kB / 0.8414 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.995e-06/0.005422, allocations: 25.7 kB / 0.8414 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.658e-05/0.005449, allocations: 84.12 kB / 0.8415 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.424e-05/0.005463, allocations: 15.83 kB / 0.8415 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.844e-05/0.005481, allocations: 13.72 kB / 0.8415 GB, free: 11 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.66e-05/0.005558, allocations: 318.8 kB / 0.8419 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.791e-06/0.005564, allocations: 128 / 0.8419 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.314e-06/0.005571, allocations: 12 kB / 0.8419 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.407e-05/0.005585, allocations: 8.859 kB / 0.8419 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.005586, allocations: 0 / 0.8419 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.092e-05/0.005617, allocations: 33.69 kB / 0.8419 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.498e-06/0.005627, allocations: 8 kB / 0.8419 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-06/0.005629, allocations: 3.938 kB / 0.8419 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.005639, allocations: 0 / 0.8419 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.961e-05/0.005679, allocations: 11.88 kB / 0.8419 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.866e-06/0.005681, allocations: 3.984 kB / 0.8419 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.328e-05/0.005695, allocations: 8.094 kB / 0.8419 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.174e-06/0.005697, allocations: 0 / 0.8419 GB, free: 10.59 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.36e-05/0.00574, allocations: 105.8 kB / 0.842 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.064e-05/0.005751, allocations: 4 kB / 0.842 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.738e-05/0.005798, allocations: 41 kB / 0.8421 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.72e-07/0.005799, allocations: 0 / 0.8421 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.005803, allocations: 7.938 kB / 0.8421 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.005805, allocations: 0 / 0.8421 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.802e-05/0.005873, allocations: 69.88 kB / 0.8422 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.1e-07/0.005874, allocations: 4.031 kB / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.327e-05/0.005887, allocations: 4 kB / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.01e-07/0.005887, allocations: 0 / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.947e-06/0.005891, allocations: 0 / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.005892, allocations: 0 / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.005893, allocations: 3.938 kB / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.833e-05/0.005951, allocations: 135.5 kB / 0.8423 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.607e-06/0.005955, allocations: 0 / 0.8423 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.253e-06/0.005962, allocations: 3.984 kB / 0.8423 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.71e-05/0.005989, allocations: 8 kB / 0.8423 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.963e-05/0.006008, allocations: 4.031 kB / 0.8423 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-06/0.00601, allocations: 0 / 0.8423 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.367e-05/0.006024, allocations: 20.95 kB / 0.8423 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.006024, allocations: 0 / 0.8423 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001257/0.006149, allocations: 19.94 kB / 0.8424 GB, free: 10.11 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.0001183/0.006268, allocations: 96.39 kB / 0.8424 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.356e-05/0.006311, allocations: 16.8 kB / 0.8425 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.006313, allocations: 0 / 0.8425 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.359e-05/0.006326, allocations: 8.859 kB / 0.8425 GB, free: 9.977 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001031/0.00643, allocations: 15.98 kB / 0.8425 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001644/0.006594, allocations: 92.83 kB / 0.8426 GB, free: 9.844 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.65e-05/0.00662, allocations: 59.34 kB / 0.8426 GB, free: 9.766 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.1e-05/0.006631, allocations: 3.938 kB / 0.8426 GB, free: 9.762 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.094e-05/0.006662, allocations: 55.5 kB / 0.8427 GB, free: 9.707 MB / 0.8073 GB Notification: Performance of SimCode: time 2.7e-07/0.006663, allocations: 0 / 0.8427 GB, free: 9.707 MB / 0.8073 GB Notification: Performance of Templates: time 0.001939/0.008602, allocations: 0.7172 MB / 0.8434 GB, free: 9.004 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ1.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.3383595938794315]