Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001533/0.001533, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001247/0.001247, allocations: 169.3 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.9953/0.9953, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.75/1.75, allocations: 359 MB / 0.6055 GB, free: 11.03 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings.Utilities.Math.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y0.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.BesselY0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 0.7871 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.953e-05/3.175e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002209/0.002241, allocations: 1.492 MB / 0.7886 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0005522/0.002793, allocations: 322.5 kB / 0.7889 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.506e-05/0.002828, allocations: 3.938 kB / 0.7889 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.877e-05/0.002857, allocations: 3.938 kB / 0.7889 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.095e-05/0.002898, allocations: 1.219 kB / 0.7889 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000401/0.003299, allocations: 103.6 kB / 0.789 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.132e-05/0.00337, allocations: 27.84 kB / 0.789 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.898e-05/0.003459, allocations: 9.062 kB / 0.789 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.018e-05/0.003509, allocations: 11.98 kB / 0.789 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.118e-05/0.00354, allocations: 5.281 kB / 0.789 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.003552, allocations: 0 / 0.789 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001776/0.003729, allocations: 123.7 kB / 0.7891 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.493e-05/0.003744, allocations: 4 kB / 0.7891 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.904e-05/0.003763, allocations: 5.25 kB / 0.7891 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.003932, allocations: 103.7 kB / 0.7892 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.003935, allocations: 0 / 0.7892 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.52e-07/0.003936, allocations: 5.531 kB / 0.7893 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.00394, allocations: 0 / 0.7893 GB, free: 10.62 MB / 0.7448 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.0003994/0.004339, allocations: 372.6 kB / 0.7896 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.004376, allocations: 8.031 kB / 0.7896 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.915e-05/0.004415, allocations: 6.391 kB / 0.7896 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.457e-05/0.004509, allocations: 112.6 kB / 0.7897 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.004521, allocations: 384 / 0.7897 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.004531, allocations: 4.375 kB / 0.7897 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.004658, allocations: 57.69 kB / 0.7898 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.004665, allocations: 4.125 kB / 0.7898 GB, free: 10 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.004674, allocations: 4.375 kB / 0.7898 GB, free: 10 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.004681, allocations: 384 / 0.7898 GB, free: 10 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.834e-05/0.004709, allocations: 7.938 kB / 0.7898 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002697/0.004979, allocations: 243.8 kB / 0.79 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.173e-05/0.005031, allocations: 31.06 kB / 0.7901 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.986e-05/0.005051, allocations: 8.406 kB / 0.7901 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003342/0.005385, allocations: 82.94 kB / 0.7902 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.005409, allocations: 41.33 kB / 0.7902 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.683e-06/0.005411, allocations: 0 / 0.7902 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001516/0.005562, allocations: 47.33 kB / 0.7902 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/0.005592, allocations: 51.41 kB / 0.7903 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.174e-05/0.005674, allocations: 165.9 kB / 0.7904 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.005683, allocations: 25.7 kB / 0.7905 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.75e-05/0.00573, allocations: 128 kB / 0.7906 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.708e-05/0.005747, allocations: 3.953 kB / 0.7906 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.763e-05/0.005775, allocations: 23.38 kB / 0.7906 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.00589, allocations: 493.9 kB / 0.7911 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.527e-05/0.005905, allocations: 4 kB / 0.7911 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.096e-05/0.005916, allocations: 7.922 kB / 0.7911 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.846e-05/0.005945, allocations: 15.69 kB / 0.7911 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.005947, allocations: 1.906 kB / 0.7911 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.433e-05/0.006001, allocations: 33.7 kB / 0.7911 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.006015, allocations: 8 kB / 0.7912 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.006021, allocations: 3.938 kB / 0.7912 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.006034, allocations: 4.625 kB / 0.7912 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.283e-05/0.006097, allocations: 7.984 kB / 0.7912 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.006102, allocations: 0.5312 kB / 0.7912 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.806e-05/0.00612, allocations: 4.719 kB / 0.7912 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-06/0.006124, allocations: 0 / 0.7912 GB, free: 8.457 MB / 0.7448 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 7.12e-05/0.006195, allocations: 161 kB / 0.7913 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.572e-05/0.006211, allocations: 5.375 kB / 0.7913 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.116e-05/0.006302, allocations: 48.94 kB / 0.7914 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.006304, allocations: 0 / 0.7914 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.006308, allocations: 0.5312 kB / 0.7914 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.006311, allocations: 1.375 kB / 0.7914 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.163e-05/0.006403, allocations: 112.6 kB / 0.7915 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.006404, allocations: 0 / 0.7915 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.643e-05/0.00643, allocations: 8 kB / 0.7915 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.006432, allocations: 5.141 kB / 0.7915 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.00644, allocations: 4 kB / 0.7915 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.006442, allocations: 3.938 kB / 0.7915 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.006443, allocations: 0.8125 kB / 0.7915 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.657e-05/0.006539, allocations: 188.8 kB / 0.7917 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.184e-06/0.006546, allocations: 4 kB / 0.7917 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.09e-05/0.006557, allocations: 3.984 kB / 0.7917 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.038e-05/0.006588, allocations: 5.281 kB / 0.7917 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.475e-05/0.006622, allocations: 8 kB / 0.7917 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.006625, allocations: 0 / 0.7917 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.981e-05/0.006665, allocations: 127.9 kB / 0.7918 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.006665, allocations: 0 / 0.7918 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001744/0.006839, allocations: 28.44 kB / 0.7919 GB, free: 7.691 MB / 0.7448 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.0002034/0.007043, allocations: 145.3 kB / 0.792 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.081e-05/0.007124, allocations: 19.62 kB / 0.792 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.007125, allocations: 0 / 0.792 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.758e-05/0.007142, allocations: 15.67 kB / 0.792 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001761/0.007319, allocations: 4 kB / 0.792 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002767/0.007595, allocations: 118.3 kB / 0.7922 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.418e-05/0.007629, allocations: 51.98 kB / 0.7922 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.651e-05/0.007646, allocations: 4.438 kB / 0.7922 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.606e-05/0.007672, allocations: 13.84 kB / 0.7922 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of SimCode: time 1.242e-06/0.007673, allocations: 0 / 0.7922 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of Templates: time 0.002773/0.01045, allocations: 0.9341 MB / 0.7931 GB, free: 6.359 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.107155039906502]