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.001003/0.001003, 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.001055/0.001055, allocations: 177 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.9683/0.9683, allocations: 177.2 MB / 203.8 MB, free: 5.477 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.43/2.43, 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.282e-06/1.282e-06, allocations: 0 / 0.8387 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.16e-05/2.288e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001423/0.001446, allocations: 0.6576 MB / 0.8393 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0005271/0.001973, allocations: 271 kB / 0.8396 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.528e-05/0.001988, allocations: 0 / 0.8396 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.672e-05/0.002005, allocations: 0 / 0.8396 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.626e-06/0.002014, allocations: 0 / 0.8396 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003546/0.002368, allocations: 83.61 kB / 0.8397 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 3.655e-05/0.002405, allocations: 3.984 kB / 0.8397 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.723e-05/0.002442, allocations: 4 kB / 0.8397 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 2.859e-05/0.002471, allocations: 4 kB / 0.8397 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 2.232e-05/0.002493, allocations: 3.984 kB / 0.8397 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 7.905e-06/0.002501, allocations: 0 / 0.8397 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000222/0.002723, allocations: 127.8 kB / 0.8398 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.393e-05/0.002737, allocations: 0 / 0.8398 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 9.768e-06/0.002747, allocations: 0 / 0.8398 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.002878, allocations: 91.72 kB / 0.8399 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.00288, allocations: 0 / 0.8399 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.42e-07/0.002881, allocations: 0 / 0.8399 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.497e-06/0.002885, allocations: 0 / 0.8399 GB, free: 12.89 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.0002077/0.003092, allocations: 232.6 kB / 0.8401 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.003127, allocations: 12.62 kB / 0.8401 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.497e-05/0.003152, allocations: 4.922 kB / 0.8401 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.076e-05/0.003213, allocations: 105.8 kB / 0.8402 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.003222, allocations: 384 / 0.8402 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.779e-06/0.003227, allocations: 384 / 0.8402 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.396e-05/0.003291, allocations: 30.27 kB / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.003299, allocations: 192 / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.58e-06/0.003304, allocations: 384 / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.00331, allocations: 384 / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.125e-05/0.003321, allocations: 7.875 kB / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.238e-05/0.003394, allocations: 69.38 kB / 0.8403 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.335e-05/0.003427, allocations: 14.58 kB / 0.8403 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.071e-05/0.003438, allocations: 8.953 kB / 0.8404 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003102/0.003748, allocations: 67.94 kB / 0.8404 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.003768, allocations: 30.56 kB / 0.8404 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.003769, allocations: 0 / 0.8404 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1): time 8.605e-05/0.003855, allocations: 41.62 kB / 0.8405 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.515e-05/0.00388, allocations: 55.34 kB / 0.8405 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.681e-05/0.003917, allocations: 93.84 kB / 0.8406 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.626e-06/0.003925, allocations: 29.7 kB / 0.8407 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.023e-05/0.003946, allocations: 80.14 kB / 0.8407 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/0.003975, allocations: 7.953 kB / 0.8407 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.014e-05/0.003995, allocations: 9.719 kB / 0.8407 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.938e-05/0.004075, allocations: 318.8 kB / 0.8411 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.111e-06/0.004081, allocations: 0 / 0.8411 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.52e-06/0.004086, allocations: 4.125 kB / 0.8411 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.439e-05/0.004111, allocations: 12.84 kB / 0.8411 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.004113, allocations: 0 / 0.8411 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.96e-05/0.004152, allocations: 33.64 kB / 0.8411 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.004164, allocations: 4 kB / 0.8411 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.004168, allocations: 0 / 0.8411 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.004182, allocations: 4 kB / 0.8411 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.331e-05/0.004215, allocations: 0 / 0.8411 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.004219, allocations: 3.984 kB / 0.8411 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.904e-06/0.004227, allocations: 0 / 0.8411 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-06/0.004232, allocations: 4.094 kB / 0.8411 GB, free: 11.48 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 0.0003453/0.004577, allocations: 117.8 kB / 0.8412 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.988e-06/0.004581, allocations: 0 / 0.8412 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.409e-05/0.004635, allocations: 36.64 kB / 0.8413 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.004636, allocations: 0 / 0.8413 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.004638, allocations: 0 / 0.8413 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.004641, allocations: 4 kB / 0.8413 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.572e-05/0.004687, allocations: 73.83 kB / 0.8413 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.004688, allocations: 0 / 0.8413 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.133e-06/0.004696, allocations: 0 / 0.8413 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.004697, allocations: 4.031 kB / 0.8413 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-06/0.004699, allocations: 0 / 0.8413 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.0047, allocations: 0 / 0.8413 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.004701, allocations: 0 / 0.8413 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.19e-05/0.004743, allocations: 61.06 kB / 0.8414 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.12e-06/0.004748, allocations: 3.984 kB / 0.8414 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.41e-06/0.004753, allocations: 0 / 0.8414 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.206e-06/0.004757, allocations: 4 kB / 0.8414 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.508e-06/0.004766, allocations: 7.875 kB / 0.8414 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-06/0.004768, allocations: 0 / 0.8414 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 5.561e-06/0.004773, allocations: 4.859 kB / 0.8414 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.004774, allocations: 4.031 kB / 0.8414 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000127/0.004901, allocations: 23.94 kB / 0.8414 GB, free: 11.08 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.0001798/0.00508, allocations: 124.3 kB / 0.8416 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.724e-05/0.005128, allocations: 12.84 kB / 0.8416 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.005131, allocations: 4 kB / 0.8416 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.601e-06/0.005136, allocations: 8.859 kB / 0.8416 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.102e-05/0.005188, allocations: 3.938 kB / 0.8416 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001314/0.005319, allocations: 78.42 kB / 0.8417 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.405e-05/0.005343, allocations: 51.36 kB / 0.8417 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 7.925e-06/0.005351, allocations: 0 / 0.8417 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.549e-05/0.005376, allocations: 59.3 kB / 0.8418 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of SimCode: time 5.01e-07/0.005377, allocations: 4.125 kB / 0.8418 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of Templates: time 0.002123/0.0075, allocations: 0.7187 MB / 0.8425 GB, free: 9.961 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 -s gbode -gbm=radauIIA3 -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.300968402996659]