Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.BesselY1.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.0009849/0.0009849, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001039/0.001039, allocations: 161 kB / 24.17 MB, free: 332 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 1.011/1.011, allocations: 177.2 MB / 204.6 MB, free: 5.152 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.932/1.932, allocations: 377.9 MB / 0.624 GB, free: 8.375 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y1.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y1.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselY1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 0.76 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.374e-05/2.497e-05, allocations: 5.906 kB / 0.76 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.001947/0.001972, allocations: 1.505 MB / 0.7615 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0005335/0.002505, allocations: 341.1 kB / 0.7618 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.53e-05/0.002531, allocations: 3.938 kB / 0.7618 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.555e-05/0.002556, allocations: 0.875 kB / 0.7618 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.145e-05/0.002598, allocations: 6.734 kB / 0.7618 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003633/0.002961, allocations: 105.2 kB / 0.7619 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.817e-05/0.003019, allocations: 20.94 kB / 0.7619 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.816e-05/0.003087, allocations: 7.984 kB / 0.762 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.897e-05/0.003136, allocations: 13.97 kB / 0.762 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.363e-05/0.00317, allocations: 14.06 kB / 0.762 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.007e-05/0.00318, allocations: 0 / 0.762 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001692/0.003349, allocations: 134.4 kB / 0.7621 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.539e-05/0.003365, allocations: 1.094 kB / 0.7621 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.401e-05/0.003379, allocations: 9.312 kB / 0.7621 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.003522, allocations: 103.7 kB / 0.7622 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.492e-06/0.003524, allocations: 0 / 0.7622 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.51e-07/0.003525, allocations: 5.438 kB / 0.7622 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.056e-06/0.003528, allocations: 0 / 0.7622 GB, free: 4.418 MB / 0.7136 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.0002687/0.003796, allocations: 240.8 kB / 0.7625 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.003826, allocations: 8.031 kB / 0.7625 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.185e-05/0.003848, allocations: 6.188 kB / 0.7625 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.133e-05/0.003919, allocations: 121.7 kB / 0.7626 GB, free: 4 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.003929, allocations: 4.375 kB / 0.7626 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.00394, allocations: 5.312 kB / 0.7626 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.96e-05/0.004039, allocations: 50.95 kB / 0.7626 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.004047, allocations: 1.219 kB / 0.7626 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.071e-06/0.004053, allocations: 384 / 0.7626 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.004058, allocations: 384 / 0.7626 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.968e-05/0.004077, allocations: 8.625 kB / 0.7626 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001732/0.004251, allocations: 148.2 kB / 0.7628 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.522e-05/0.004286, allocations: 20.36 kB / 0.7628 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.3e-05/0.004299, allocations: 8.922 kB / 0.7628 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002703/0.004569, allocations: 86.53 kB / 0.7629 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/0.004587, allocations: 31.06 kB / 0.7629 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.004588, allocations: 3.938 kB / 0.7629 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 8.818e-05/0.004676, allocations: 43.72 kB / 0.763 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.289e-05/0.004699, allocations: 55.34 kB / 0.763 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.452e-05/0.004743, allocations: 110.7 kB / 0.7631 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.506e-06/0.004752, allocations: 25.7 kB / 0.7632 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.314e-05/0.004775, allocations: 81.36 kB / 0.7632 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.404e-05/0.004789, allocations: 7.953 kB / 0.7632 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.148e-05/0.00481, allocations: 17.7 kB / 0.7633 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.835e-05/0.004879, allocations: 310.8 kB / 0.7636 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.403e-06/0.004886, allocations: 4.812 kB / 0.7636 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.855e-06/0.004894, allocations: 6.328 kB / 0.7636 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.977e-05/0.004914, allocations: 8.859 kB / 0.7636 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.004915, allocations: 0 / 0.7636 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.458e-05/0.00495, allocations: 41.62 kB / 0.7636 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.004962, allocations: 8 kB / 0.7636 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.367e-06/0.004965, allocations: 2.75 kB / 0.7636 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.004975, allocations: 0 / 0.7636 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.131e-05/0.005017, allocations: 7.938 kB / 0.7636 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.365e-06/0.005019, allocations: 0 / 0.7636 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.411e-05/0.005033, allocations: 4 kB / 0.7636 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.397e-06/0.005037, allocations: 0 / 0.7636 GB, free: 2.824 MB / 0.7136 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 4.35e-05/0.00508, allocations: 109.8 kB / 0.7637 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.213e-05/0.005092, allocations: 5.312 kB / 0.7637 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.585e-05/0.005148, allocations: 41 kB / 0.7638 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.005149, allocations: 4.125 kB / 0.7638 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.005152, allocations: 4.875 kB / 0.7638 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.005155, allocations: 3.984 kB / 0.7638 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.383e-05/0.005229, allocations: 66.83 kB / 0.7639 GB, free: 2.566 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.00523, allocations: 7.984 kB / 0.7639 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.582e-05/0.005246, allocations: 4 kB / 0.7639 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.005248, allocations: 1.188 kB / 0.7639 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.905e-06/0.00525, allocations: 0 / 0.7639 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.005251, allocations: 0 / 0.7639 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.005252, allocations: 5.656 kB / 0.7639 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.647e-05/0.005309, allocations: 135.5 kB / 0.764 GB, free: 2.402 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.153e-06/0.005316, allocations: 11.89 kB / 0.764 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.462e-06/0.005322, allocations: 3.938 kB / 0.764 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.677e-05/0.005349, allocations: 4.656 kB / 0.764 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.24e-05/0.005372, allocations: 4.641 kB / 0.764 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-06/0.005373, allocations: 0 / 0.764 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.086e-05/0.005384, allocations: 17.23 kB / 0.7641 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.005384, allocations: 3.438 kB / 0.7641 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001434/0.005527, allocations: 31.92 kB / 0.7641 GB, free: 2.328 MB / 0.7136 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.0001588/0.005686, allocations: 122.8 kB / 0.7642 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.869e-05/0.005735, allocations: 12.86 kB / 0.7642 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.005737, allocations: 0 / 0.7642 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.018e-05/0.005747, allocations: 8.859 kB / 0.7642 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001054/0.005852, allocations: 4.812 kB / 0.7642 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001834/0.006036, allocations: 111.9 kB / 0.7643 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.303e-05/0.006069, allocations: 59.28 kB / 0.7644 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.21e-05/0.006081, allocations: 0.9062 kB / 0.7644 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.343e-05/0.006114, allocations: 51.38 kB / 0.7644 GB, free: 1.906 MB / 0.7136 GB Notification: Performance of SimCode: time 3.01e-07/0.006115, allocations: 3.812 kB / 0.7644 GB, free: 1.906 MB / 0.7136 GB Notification: Performance of Templates: time 0.002262/0.008377, allocations: 0.9789 MB / 0.7654 GB, free: 0.9648 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.BesselY1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BesselY1.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.BesselY1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_BesselY1.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: 4.971713824663311]