Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.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.00145/0.00145, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001617/0.001617, allocations: 169 kB / 24.28 MB, free: 280 kB / 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.9611/0.9611, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.845/1.845, allocations: 377.9 MB / 0.6239 GB, free: 8.578 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y0.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y0.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselY0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 0.8115 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.348e-05/2.486e-05, allocations: 3.188 kB / 0.8115 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002352/0.002377, allocations: 1.494 MB / 0.813 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0005585/0.002936, allocations: 326.1 kB / 0.8133 GB, free: 260 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.244e-05/0.002968, allocations: 0 / 0.8133 GB, free: 260 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.804e-05/0.002996, allocations: 7.922 kB / 0.8133 GB, free: 252 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 3.622e-05/0.003032, allocations: 0.5938 kB / 0.8133 GB, free: 252 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004086/0.003441, allocations: 104.5 kB / 0.8134 GB, free: 148 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.222e-05/0.003503, allocations: 19.94 kB / 0.8134 GB, free: 128 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 8.127e-05/0.003584, allocations: 9.578 kB / 0.8134 GB, free: 120 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 4.871e-05/0.003633, allocations: 8 kB / 0.8134 GB, free: 112 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.469e-05/0.003668, allocations: 15.97 kB / 0.8135 GB, free: 96 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.003679, allocations: 0 / 0.8135 GB, free: 96 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001967/0.003875, allocations: 118.4 kB / 0.8136 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.278e-05/0.003888, allocations: 3.938 kB / 0.8136 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.074e-05/0.003909, allocations: 11.98 kB / 0.8136 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.004099, allocations: 103.6 kB / 0.8137 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.004102, allocations: 0 / 0.8137 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.22e-07/0.004103, allocations: 0 / 0.8137 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.004108, allocations: 0 / 0.8137 GB, free: 15.86 MB / 0.7761 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.0003778/0.004486, allocations: 377 kB / 0.814 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.004523, allocations: 8.75 kB / 0.8141 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.034e-05/0.004563, allocations: 8.938 kB / 0.8141 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.964e-05/0.004653, allocations: 109.1 kB / 0.8142 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.004663, allocations: 384 / 0.8142 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.004675, allocations: 10.02 kB / 0.8142 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.004797, allocations: 50.95 kB / 0.8142 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.004804, allocations: 192 / 0.8142 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.004812, allocations: 384 / 0.8142 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.495e-06/0.00482, allocations: 0.875 kB / 0.8142 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.616e-05/0.004856, allocations: 20.45 kB / 0.8142 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002725/0.005128, allocations: 239.8 kB / 0.8145 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.365e-05/0.005182, allocations: 31.84 kB / 0.8145 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.409e-05/0.005206, allocations: 12.88 kB / 0.8145 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003657/0.005572, allocations: 77.36 kB / 0.8146 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.005594, allocations: 35.14 kB / 0.8146 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.273e-06/0.005595, allocations: 0 / 0.8146 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.000163/0.005758, allocations: 53.52 kB / 0.8147 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.005789, allocations: 56.25 kB / 0.8147 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.791e-05/0.005867, allocations: 153.9 kB / 0.8149 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.005877, allocations: 25.7 kB / 0.8149 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.429e-05/0.005922, allocations: 133.1 kB / 0.815 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.00594, allocations: 7.938 kB / 0.815 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.991e-05/0.00597, allocations: 19.38 kB / 0.8151 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.006087, allocations: 0.4883 MB / 0.8155 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.385e-05/0.0061, allocations: 4 kB / 0.8155 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.207e-05/0.006112, allocations: 2.781 kB / 0.8155 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.882e-05/0.006141, allocations: 15.62 kB / 0.8156 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.006143, allocations: 0 / 0.8156 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.892e-05/0.006212, allocations: 45.69 kB / 0.8156 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.006225, allocations: 4 kB / 0.8156 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.00623, allocations: 3.938 kB / 0.8156 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.006242, allocations: 1.469 kB / 0.8156 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.93e-05/0.006302, allocations: 4 kB / 0.8156 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.006306, allocations: 0 / 0.8156 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.198e-05/0.006328, allocations: 7.984 kB / 0.8156 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.006333, allocations: 0.5 kB / 0.8156 GB, free: 13.69 MB / 0.7761 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 6.134e-05/0.006394, allocations: 157.1 kB / 0.8158 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.999e-05/0.006414, allocations: 1.375 kB / 0.8158 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.25e-05/0.006497, allocations: 56.88 kB / 0.8158 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.006499, allocations: 0 / 0.8158 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.006502, allocations: 0.5312 kB / 0.8158 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.006505, allocations: 0 / 0.8158 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.006615, allocations: 117.8 kB / 0.8159 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.006616, allocations: 0 / 0.8159 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.289e-05/0.006639, allocations: 4 kB / 0.8159 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.006641, allocations: 4.938 kB / 0.8159 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.006647, allocations: 0 / 0.8159 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.006649, allocations: 4.5 kB / 0.8159 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.00665, allocations: 0 / 0.8159 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.624e-05/0.006746, allocations: 195.5 kB / 0.8161 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.951e-06/0.006752, allocations: 4 kB / 0.8161 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.017e-05/0.006762, allocations: 0 / 0.8161 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.764e-05/0.00681, allocations: 8.125 kB / 0.8161 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.417e-05/0.006844, allocations: 3.984 kB / 0.8161 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.006848, allocations: 3.984 kB / 0.8162 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.611e-05/0.006884, allocations: 123.2 kB / 0.8163 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.006884, allocations: 0 / 0.8163 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002552/0.00714, allocations: 35.92 kB / 0.8163 GB, free: 12.93 MB / 0.7761 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.0002104/0.00735, allocations: 146.8 kB / 0.8164 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.641e-05/0.007426, allocations: 12.72 kB / 0.8165 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.007428, allocations: 4 kB / 0.8165 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.908e-05/0.007447, allocations: 11.62 kB / 0.8165 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002255/0.007672, allocations: 13.08 kB / 0.8165 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000241/0.007913, allocations: 111.1 kB / 0.8166 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.729e-05/0.00795, allocations: 59.95 kB / 0.8166 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.65e-05/0.007967, allocations: 0.9062 kB / 0.8166 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.225e-05/0.007989, allocations: 16.5 kB / 0.8167 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of SimCode: time 6.31e-07/0.00799, allocations: 0 / 0.8167 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of Templates: time 0.002747/0.01074, allocations: 0.9246 MB / 0.8176 GB, free: 11.59 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.BesselY0.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BesselY0.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_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.1118305681739]