Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 113.2 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 193.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.045/3.045, allocations: 489.2 MB / 0.7687 GB, free: 3.824 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_Buildings.Utilities.Math.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002122, allocations: 63.91 kB / 1.103 GB, free: 0.8203 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9471/0.9492, allocations: 163.8 MB / 1.263 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002571/0.9518, allocations: 1.434 MB / 1.264 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0006966/0.9525, allocations: 346.9 kB / 1.264 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.43e-05/0.9526, allocations: 0.7812 kB / 1.264 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.486e-05/0.9526, allocations: 0.7969 kB / 1.264 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.019e-05/0.9527, allocations: 8.844 kB / 1.264 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004665/0.9531, allocations: 98.62 kB / 1.264 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.658e-05/0.9532, allocations: 27.8 kB / 1.264 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.162e-05/0.9533, allocations: 7.578 kB / 1.264 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.312e-05/0.9534, allocations: 9.625 kB / 1.264 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.077e-05/0.9534, allocations: 9.531 kB / 1.264 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.9534, allocations: 2.125 kB / 1.264 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002626/0.9537, allocations: 123 kB / 1.265 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.229e-05/0.9537, allocations: 2.062 kB / 1.265 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.362e-05/0.9537, allocations: 14.61 kB / 1.265 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002107/0.9539, allocations: 83.11 kB / 1.265 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.954, allocations: 0.7188 kB / 1.265 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.845e-06/0.954, allocations: 0 / 1.265 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.954, allocations: 3.938 kB / 1.265 GB, free: 6.656 MB / 0.9981 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.0004229/0.9544, allocations: 355.2 kB / 1.265 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.9544, allocations: 10.45 kB / 1.265 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.228e-05/0.9545, allocations: 13.52 kB / 1.265 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.54e-05/0.9546, allocations: 163.2 kB / 1.265 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.9546, allocations: 5.953 kB / 1.265 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.527e-05/0.9546, allocations: 6.062 kB / 1.265 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.9548, allocations: 45.36 kB / 1.265 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.639e-06/0.9548, allocations: 192 / 1.265 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.9548, allocations: 7.938 kB / 1.265 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.9548, allocations: 0.875 kB / 1.265 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001677/0.955, allocations: 32.89 kB / 1.265 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002789/0.9553, allocations: 250.2 kB / 1.266 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.9554, allocations: 41.09 kB / 1.266 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.588e-05/0.9555, allocations: 19.38 kB / 1.266 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005779/0.9561, allocations: 461.1 kB / 1.266 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.9561, allocations: 32.64 kB / 1.266 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.9561, allocations: 0 / 1.266 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003575/0.9565, allocations: 88.25 kB / 1.266 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.177e-05/0.9565, allocations: 56.59 kB / 1.266 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.539e-05/0.9566, allocations: 100.6 kB / 1.266 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.345e-06/0.9566, allocations: 25.7 kB / 1.266 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.538e-05/0.9566, allocations: 82.48 kB / 1.266 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.9567, allocations: 9.531 kB / 1.266 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.631e-05/0.9567, allocations: 16.12 kB / 1.266 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.595e-05/0.9567, allocations: 313.3 kB / 1.267 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.686e-05/0.9568, allocations: 17.81 kB / 1.267 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.609e-05/0.9569, allocations: 18.08 kB / 1.267 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.9571, allocations: 37.25 kB / 1.267 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.9571, allocations: 0.6562 kB / 1.267 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001901/0.9573, allocations: 75.8 kB / 1.267 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.9573, allocations: 4.688 kB / 1.267 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.9573, allocations: 1.156 kB / 1.267 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.9573, allocations: 192 / 1.267 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.11e-05/0.9574, allocations: 13.88 kB / 1.267 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.9574, allocations: 0 / 1.267 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.423e-05/0.9575, allocations: 6.219 kB / 1.267 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.9575, allocations: 5.625 kB / 1.267 GB, free: 4.453 MB / 0.9981 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.706e-05/0.9575, allocations: 119.5 kB / 1.267 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.165e-05/0.9576, allocations: 1.062 kB / 1.267 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000227/0.9578, allocations: 75.7 kB / 1.267 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.9578, allocations: 1.031 kB / 1.267 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.9578, allocations: 0 / 1.267 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.9578, allocations: 1 kB / 1.267 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.9579, allocations: 159.5 kB / 1.267 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.9579, allocations: 4.734 kB / 1.267 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.555e-05/0.958, allocations: 12.5 kB / 1.267 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.958, allocations: 1.062 kB / 1.267 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.958, allocations: 4.562 kB / 1.267 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.958, allocations: 1.062 kB / 1.267 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.958, allocations: 0 / 1.267 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/0.9583, allocations: 162.6 kB / 1.267 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.782e-05/0.9583, allocations: 86.75 kB / 1.267 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.9583, allocations: 0.875 kB / 1.267 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.233e-05/0.9584, allocations: 14.56 kB / 1.268 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.136e-05/0.9584, allocations: 2.609 kB / 1.268 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.9584, allocations: 0.75 kB / 1.268 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.403e-05/0.9585, allocations: 80.25 kB / 1.268 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9585, allocations: 0 / 1.268 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002692/0.9587, allocations: 29.14 kB / 1.268 GB, free: 3.75 MB / 0.9981 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.0002445/0.959, allocations: 135.8 kB / 1.268 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002355/0.9592, allocations: 39.66 kB / 1.268 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.9593, allocations: 0.6562 kB / 1.268 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.702e-05/0.9593, allocations: 16.78 kB / 1.268 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.9596, allocations: 14.28 kB / 1.268 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002485/0.9598, allocations: 134.6 kB / 1.268 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/0.9599, allocations: 0.6763 MB / 1.269 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.233e-05/0.96, allocations: 9.062 kB / 1.269 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of SimCode: time 2.4e-07/0.96, allocations: 8.062 kB / 1.269 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of Templates: time 0.003228/0.9632, allocations: 0.9786 MB / 1.27 GB, free: 2.711 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.240494161145762]