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.00106/0.00106, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001005/0.001005, allocations: 181 kB / 24.08 MB, free: 424 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.9647/0.9647, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.928/1.928, allocations: 377.9 MB / 0.6239 GB, free: 8.426 MB / 0.5886 GB " [Timeout remaining time 177] 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.312e-06/1.312e-06, allocations: 0 / 0.812 GB, free: 1.484 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0001226/0.000124, allocations: 2.312 kB / 0.812 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002103/0.002227, allocations: 1.501 MB / 0.8135 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0004837/0.002711, allocations: 325.3 kB / 0.8138 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.948e-05/0.002741, allocations: 4 kB / 0.8138 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.458e-05/0.002765, allocations: 3.938 kB / 0.8138 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 3.794e-05/0.002803, allocations: 1.531 kB / 0.8138 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003684/0.003171, allocations: 103.6 kB / 0.8139 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 4.885e-05/0.00322, allocations: 23.92 kB / 0.8139 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.228e-05/0.003293, allocations: 9.172 kB / 0.8139 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 4.878e-05/0.003341, allocations: 8 kB / 0.8139 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 2.954e-05/0.003371, allocations: 3.984 kB / 0.8139 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 9.258e-06/0.00338, allocations: 5.594 kB / 0.8139 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001653/0.003545, allocations: 119.8 kB / 0.814 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.532e-05/0.003561, allocations: 7.984 kB / 0.8141 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.143e-05/0.003572, allocations: 0 / 0.8141 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.003723, allocations: 114.2 kB / 0.8142 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.003725, allocations: 0 / 0.8142 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.31e-07/0.003726, allocations: 0 / 0.8142 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.085e-06/0.003729, allocations: 0 / 0.8142 GB, free: 15.28 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.0003128/0.004042, allocations: 372.5 kB / 0.8145 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.004077, allocations: 12.03 kB / 0.8145 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.302e-05/0.0041, allocations: 0.9375 kB / 0.8145 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.863e-05/0.004168, allocations: 113.3 kB / 0.8146 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.564e-06/0.004176, allocations: 384 / 0.8146 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.999e-06/0.004181, allocations: 0.9062 kB / 0.8146 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.088e-05/0.004272, allocations: 64.53 kB / 0.8147 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.182e-06/0.004278, allocations: 192 / 0.8147 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.52e-06/0.004283, allocations: 384 / 0.8147 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.004288, allocations: 4.375 kB / 0.8147 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.562e-05/0.004304, allocations: 3.938 kB / 0.8147 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001946/0.004498, allocations: 229 kB / 0.8149 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.003e-05/0.004538, allocations: 31.59 kB / 0.815 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.612e-05/0.004554, allocations: 12.62 kB / 0.815 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002746/0.004829, allocations: 78.39 kB / 0.815 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.817e-05/0.004847, allocations: 33.39 kB / 0.8151 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.004848, allocations: 1.75 kB / 0.8151 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001213/0.004969, allocations: 45.59 kB / 0.8151 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.097e-05/0.00499, allocations: 51.41 kB / 0.8152 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.28e-05/0.005053, allocations: 165.9 kB / 0.8153 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.734e-06/0.005061, allocations: 26.73 kB / 0.8154 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000234/0.005295, allocations: 126.9 kB / 0.8155 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.524e-05/0.00531, allocations: 3.953 kB / 0.8155 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.499e-05/0.005335, allocations: 24.28 kB / 0.8155 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.684e-05/0.005432, allocations: 496.1 kB / 0.816 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.022e-05/0.005442, allocations: 8.781 kB / 0.816 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.434e-06/0.00545, allocations: 3.938 kB / 0.816 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.183e-05/0.005471, allocations: 17.83 kB / 0.816 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.005473, allocations: 0 / 0.816 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.557e-05/0.005519, allocations: 33.7 kB / 0.816 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.005529, allocations: 4 kB / 0.816 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.005535, allocations: 3.984 kB / 0.816 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.005546, allocations: 10.56 kB / 0.8161 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.325e-05/0.005589, allocations: 4 kB / 0.8161 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-06/0.005591, allocations: 0 / 0.8161 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.608e-05/0.005607, allocations: 4 kB / 0.8161 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.426e-06/0.005611, allocations: 7.938 kB / 0.8161 GB, free: 13.14 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 5.281e-05/0.005664, allocations: 160.6 kB / 0.8162 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.198e-05/0.005676, allocations: 1.656 kB / 0.8162 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.237e-05/0.005738, allocations: 37.02 kB / 0.8163 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.005743, allocations: 8.109 kB / 0.8163 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.005744, allocations: 0 / 0.8163 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.005747, allocations: 4.484 kB / 0.8163 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.383e-05/0.005831, allocations: 97.83 kB / 0.8164 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.005832, allocations: 1.625 kB / 0.8164 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.181e-05/0.005854, allocations: 11.98 kB / 0.8164 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.005856, allocations: 0 / 0.8164 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.088e-06/0.00586, allocations: 0 / 0.8164 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.005861, allocations: 0 / 0.8164 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.005861, allocations: 0.5 kB / 0.8164 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.154e-05/0.005943, allocations: 192.4 kB / 0.8166 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.691e-06/0.005949, allocations: 7.672 kB / 0.8166 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.123e-06/0.005956, allocations: 0 / 0.8166 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.068e-05/0.005986, allocations: 8 kB / 0.8166 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.714e-05/0.006014, allocations: 0 / 0.8166 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.006017, allocations: 3.938 kB / 0.8166 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.351e-05/0.00605, allocations: 127.2 kB / 0.8167 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.00605, allocations: 0 / 0.8167 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001787/0.006229, allocations: 27.94 kB / 0.8167 GB, free: 12.41 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.0001837/0.006413, allocations: 141.8 kB / 0.8169 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.064e-05/0.006473, allocations: 28.67 kB / 0.8169 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.006478, allocations: 8 kB / 0.8169 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.363e-05/0.006491, allocations: 8.781 kB / 0.8169 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/0.006655, allocations: 7.938 kB / 0.8169 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001988/0.006854, allocations: 114.3 kB / 0.817 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.139e-05/0.006885, allocations: 59.16 kB / 0.8171 GB, free: 12 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.375e-05/0.006899, allocations: 0.7812 kB / 0.8171 GB, free: 12 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.792e-05/0.006937, allocations: 74.69 kB / 0.8172 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of SimCode: time 4.61e-07/0.006937, allocations: 1.156 kB / 0.8172 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of Templates: time 0.002516/0.009454, allocations: 1.036 MB / 0.8182 GB, free: 10.9 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.030547271016985]