Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001015/0.001015, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001034/0.001034, allocations: 165 kB / 23.82 MB, free: 0.7461 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 1.003/1.003, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.857/1.857, allocations: 377.9 MB / 0.6236 GB, free: 8.52 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.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y0",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Math.Functions.Examples.BesselY0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0.7656 kB / 0.8116 GB, free: 1.652 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.815e-05/3.002e-05, allocations: 9.797 kB / 0.8116 GB, free: 1.645 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001282/0.001312, allocations: 0.6021 MB / 0.8122 GB, free: 1.062 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0004649/0.001777, allocations: 273.2 kB / 0.8124 GB, free: 0.7969 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.147e-05/0.001788, allocations: 2.406 kB / 0.8124 GB, free: 0.7969 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.73e-05/0.001805, allocations: 0 / 0.8124 GB, free: 0.7969 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.831e-06/0.001811, allocations: 0 / 0.8124 GB, free: 0.7969 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004065/0.002218, allocations: 91.66 kB / 0.8125 GB, free: 0.707 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 3.7e-05/0.002255, allocations: 0 / 0.8125 GB, free: 0.707 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.146e-05/0.002286, allocations: 3.938 kB / 0.8125 GB, free: 0.7031 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 2.44e-05/0.002311, allocations: 9.328 kB / 0.8125 GB, free: 0.6953 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 1.935e-05/0.00233, allocations: 4 kB / 0.8126 GB, free: 0.6914 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 9.107e-06/0.002339, allocations: 0 / 0.8126 GB, free: 0.6914 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001847/0.002524, allocations: 107.8 kB / 0.8127 GB, free: 0.5859 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.088e-05/0.002535, allocations: 1.531 kB / 0.8127 GB, free: 0.5859 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.258e-05/0.002547, allocations: 0 / 0.8127 GB, free: 0.5859 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001434/0.002691, allocations: 91.73 kB / 0.8127 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.002693, allocations: 0 / 0.8127 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of FrontEnd: time 7.91e-07/0.002694, allocations: 0.5 kB / 0.8127 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.002698, allocations: 3.938 kB / 0.8127 GB, free: 0.4922 MB / 0.7605 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.0002595/0.002958, allocations: 356.8 kB / 0.8131 GB, free: 108 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.002995, allocations: 13.19 kB / 0.8131 GB, free: 96 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.895e-05/0.003024, allocations: 0.9375 kB / 0.8131 GB, free: 96 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.56e-05/0.00309, allocations: 104.6 kB / 0.8132 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.003105, allocations: 0.875 kB / 0.8132 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.003117, allocations: 4.906 kB / 0.8132 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.004e-05/0.003197, allocations: 31.62 kB / 0.8132 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.003206, allocations: 192 / 0.8132 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.003216, allocations: 384 / 0.8132 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.003225, allocations: 4.359 kB / 0.8132 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.583e-05/0.003241, allocations: 9.094 kB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.796e-05/0.003339, allocations: 104.6 kB / 0.8133 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.038e-05/0.003379, allocations: 35.03 kB / 0.8134 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.566e-05/0.003395, allocations: 8.625 kB / 0.8134 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003947/0.00379, allocations: 77.91 kB / 0.8135 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.003814, allocations: 38.77 kB / 0.8135 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 6.52e-07/0.003814, allocations: 0 / 0.8135 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.0001227/0.003937, allocations: 33.64 kB / 0.8135 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.693e-05/0.003964, allocations: 54.38 kB / 0.8136 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.944e-05/0.004003, allocations: 142.2 kB / 0.8137 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.004014, allocations: 25.7 kB / 0.8137 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.985e-05/0.004044, allocations: 126.9 kB / 0.8139 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.433e-05/0.004078, allocations: 4 kB / 0.8139 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.564e-05/0.004104, allocations: 23.36 kB / 0.8139 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.004228, allocations: 496.1 kB / 0.8144 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.547e-06/0.004237, allocations: 0 / 0.8144 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.869e-06/0.004242, allocations: 4.5 kB / 0.8144 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.665e-05/0.004269, allocations: 9.625 kB / 0.8144 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.004271, allocations: 0 / 0.8144 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.773e-05/0.004309, allocations: 37.64 kB / 0.8144 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.004322, allocations: 7.938 kB / 0.8144 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.004327, allocations: 1.688 kB / 0.8144 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.004342, allocations: 0 / 0.8144 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.293e-05/0.004385, allocations: 7.984 kB / 0.8144 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.00439, allocations: 0 / 0.8144 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.818e-06/0.0044, allocations: 9.188 kB / 0.8144 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.004404, allocations: 0 / 0.8144 GB, free: 14.57 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 (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 6.227e-05/0.004466, allocations: 157.1 kB / 0.8146 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.366e-06/0.00447, allocations: 4 kB / 0.8146 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.22e-05/0.004532, allocations: 41.48 kB / 0.8146 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.004534, allocations: 0.8438 kB / 0.8146 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.004537, allocations: 0 / 0.8146 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.00454, allocations: 0 / 0.8146 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.912e-05/0.004599, allocations: 113.9 kB / 0.8147 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.004602, allocations: 11.94 kB / 0.8148 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.039e-06/0.004607, allocations: 0 / 0.8148 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.004608, allocations: 0.8438 kB / 0.8148 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.059e-06/0.004613, allocations: 0 / 0.8148 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.5e-07/0.004613, allocations: 0 / 0.8148 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.004614, allocations: 1.062 kB / 0.8148 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.993e-05/0.004664, allocations: 72.38 kB / 0.8148 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.046e-06/0.004667, allocations: 1.375 kB / 0.8148 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.506e-06/0.004675, allocations: 4 kB / 0.8148 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.306e-06/0.004679, allocations: 0 / 0.8148 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.245e-05/0.004691, allocations: 0 / 0.8148 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-06/0.004692, allocations: 0.9375 kB / 0.8148 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.986e-05/0.004722, allocations: 123.2 kB / 0.815 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.004722, allocations: 1.125 kB / 0.815 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001468/0.004869, allocations: 31.92 kB / 0.815 GB, free: 13.95 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 (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.0001932/0.005062, allocations: 154.3 kB / 0.8151 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.228e-05/0.005125, allocations: 12.19 kB / 0.8151 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.005126, allocations: 0 / 0.8151 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.731e-06/0.005132, allocations: 8.969 kB / 0.8151 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.191e-05/0.005224, allocations: 4 kB / 0.8152 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001671/0.005391, allocations: 92.78 kB / 0.8152 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.691e-05/0.005418, allocations: 51.36 kB / 0.8153 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.111e-05/0.005429, allocations: 9.344 kB / 0.8153 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.492e-05/0.005444, allocations: 8.5 kB / 0.8153 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of SimCode: time 3.81e-07/0.005444, allocations: 0 / 0.8153 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of Templates: time 0.002103/0.007547, allocations: 0.6495 MB / 0.8159 GB, free: 12.93 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.113428583368659]