Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.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.001073/0.001073, 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.0009405/0.0009405, 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 0.9446/0.9446, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.392/2.392, allocations: 438.8 MB / 0.6827 GB, free: 13.61 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.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y0",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y0",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 3.938 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.302e-05/2.449e-05, allocations: 4.562 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.00113/0.001154, allocations: 0.6071 MB / 0.8392 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0004258/0.00158, allocations: 267 kB / 0.8395 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.179e-05/0.001592, allocations: 0 / 0.8395 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.407e-05/0.001606, allocations: 3.938 kB / 0.8395 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.76e-06/0.001612, allocations: 0 / 0.8395 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003969/0.002009, allocations: 91.72 kB / 0.8396 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 3.589e-05/0.002045, allocations: 3.984 kB / 0.8396 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.148e-05/0.002076, allocations: 0 / 0.8396 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 2.426e-05/0.0021, allocations: 3.938 kB / 0.8396 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 1.95e-05/0.00212, allocations: 11.94 kB / 0.8396 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 7.293e-06/0.002127, allocations: 0 / 0.8396 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001859/0.002313, allocations: 115.8 kB / 0.8397 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.261e-05/0.002326, allocations: 0 / 0.8397 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 8.876e-06/0.002335, allocations: 0 / 0.8397 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001218/0.002456, allocations: 79.81 kB / 0.8398 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.002458, allocations: 0 / 0.8398 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.92e-07/0.002459, allocations: 3.938 kB / 0.8398 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.675e-06/0.002462, allocations: 0 / 0.8398 GB, free: 12.98 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.0004455/0.002907, allocations: 236.6 kB / 0.84 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.002938, allocations: 8.625 kB / 0.84 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.97e-05/0.002958, allocations: 4.938 kB / 0.84 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.958e-05/0.003008, allocations: 105.8 kB / 0.8401 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.176e-06/0.003016, allocations: 4.312 kB / 0.8401 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.221e-06/0.003022, allocations: 384 / 0.8401 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.477e-05/0.003077, allocations: 30.25 kB / 0.8402 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.003083, allocations: 192 / 0.8402 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.02e-06/0.003088, allocations: 4.375 kB / 0.8402 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.126e-06/0.003091, allocations: 384 / 0.8402 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.837e-06/0.0031, allocations: 3.938 kB / 0.8402 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.139e-05/0.003161, allocations: 61.39 kB / 0.8402 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.242e-05/0.003194, allocations: 22.52 kB / 0.8402 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.836e-06/0.003202, allocations: 4.859 kB / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003016/0.003504, allocations: 76.02 kB / 0.8403 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.003523, allocations: 30.56 kB / 0.8404 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.003524, allocations: 0 / 0.8404 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1): time 8.39e-05/0.003608, allocations: 33.7 kB / 0.8404 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/0.003634, allocations: 51.41 kB / 0.8404 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.594e-05/0.00366, allocations: 89.86 kB / 0.8405 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.627e-06/0.003668, allocations: 25.7 kB / 0.8405 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.21e-05/0.00369, allocations: 88.12 kB / 0.8406 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.79e-05/0.003718, allocations: 11.89 kB / 0.8406 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.835e-05/0.003737, allocations: 9.719 kB / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.682e-05/0.003824, allocations: 322.8 kB / 0.841 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.743e-06/0.00383, allocations: 0 / 0.841 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.458e-06/0.003835, allocations: 0 / 0.841 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.305e-05/0.003858, allocations: 13.05 kB / 0.841 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.00386, allocations: 0 / 0.841 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.406e-05/0.003894, allocations: 29.7 kB / 0.841 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.003905, allocations: 4 kB / 0.841 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.003909, allocations: 0 / 0.841 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.679e-06/0.003919, allocations: 7.922 kB / 0.841 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.354e-05/0.003952, allocations: 7.938 kB / 0.841 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-06/0.003955, allocations: 0 / 0.841 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.057e-06/0.003964, allocations: 4 kB / 0.841 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-06/0.003969, allocations: 0 / 0.841 GB, free: 11.57 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.416e-05/0.004013, allocations: 113.8 kB / 0.8411 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.717e-06/0.004017, allocations: 4 kB / 0.8411 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.105e-05/0.004068, allocations: 36.69 kB / 0.8412 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.00407, allocations: 0 / 0.8412 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-06/0.004071, allocations: 0 / 0.8412 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.004074, allocations: 0 / 0.8412 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.504e-05/0.004119, allocations: 65.84 kB / 0.8412 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.00412, allocations: 0 / 0.8412 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.243e-06/0.004127, allocations: 4 kB / 0.8412 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.004128, allocations: 0 / 0.8412 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.537e-06/0.004132, allocations: 4.031 kB / 0.8412 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.004133, allocations: 3.984 kB / 0.8412 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.004134, allocations: 0 / 0.8412 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.059e-05/0.004175, allocations: 65 kB / 0.8413 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.166e-06/0.004178, allocations: 0 / 0.8413 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.979e-06/0.004183, allocations: 0 / 0.8413 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.976e-06/0.004186, allocations: 0 / 0.8413 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.668e-06/0.004196, allocations: 4 kB / 0.8413 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-06/0.004197, allocations: 0 / 0.8413 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 5.962e-06/0.004203, allocations: 4.859 kB / 0.8413 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.1e-08/0.004203, allocations: 0 / 0.8413 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000123/0.004326, allocations: 31.95 kB / 0.8413 GB, free: 11.18 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.0001567/0.004483, allocations: 128.2 kB / 0.8415 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.663e-05/0.00453, allocations: 16.8 kB / 0.8415 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.004533, allocations: 4 kB / 0.8415 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.03e-06/0.004538, allocations: 8.859 kB / 0.8415 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.118e-05/0.004579, allocations: 3.938 kB / 0.8415 GB, free: 11 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000133/0.004712, allocations: 74.44 kB / 0.8416 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.046e-05/0.004742, allocations: 55.34 kB / 0.8416 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 7.795e-06/0.00475, allocations: 3.938 kB / 0.8416 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.393e-05/0.004774, allocations: 47.38 kB / 0.8417 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of SimCode: time 3.51e-07/0.004774, allocations: 0 / 0.8417 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of Templates: time 0.002054/0.006829, allocations: 0.735 MB / 0.8424 GB, free: 10.04 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselY0.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.243075561709702]