Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001029/0.001029, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00117/0.002199, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007461/0.0007461, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009364/0.001682, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.016/1.016, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1199/1.136, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.423/2.423, allocations: 446.7 MB / 0.6745 GB, free: 6.168 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.263/2.686, allocations: 145.9 MB / 0.817 GB, free: 4.176 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.003e-06/2.003e-06, allocations: 0 / 0.8184 GB, free: 2.805 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.338e-05/1.538e-05, allocations: 8.781 kB / 0.8184 GB, free: 2.797 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001482/0.001497, allocations: 0.6461 MB / 0.819 GB, free: 2.148 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0004464/0.001944, allocations: 267 kB / 0.8192 GB, free: 1.887 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.008e-05/0.001954, allocations: 0 / 0.8192 GB, free: 1.887 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 4.188e-06/0.001958, allocations: 0 / 0.8192 GB, free: 1.887 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 1.302e-06/0.001959, allocations: 0 / 0.8192 GB, free: 1.887 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002968/0.002256, allocations: 87.59 kB / 0.8193 GB, free: 1.801 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 4.428e-05/0.0023, allocations: 0 / 0.8193 GB, free: 1.801 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.89e-05/0.002339, allocations: 4 kB / 0.8193 GB, free: 1.797 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 3.534e-05/0.002375, allocations: 4 kB / 0.8193 GB, free: 1.793 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 3.066e-05/0.002405, allocations: 3.984 kB / 0.8193 GB, free: 1.789 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.021e-05/0.002415, allocations: 0 / 0.8193 GB, free: 1.789 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003027/0.002718, allocations: 131.7 kB / 0.8195 GB, free: 1.66 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 8.005e-06/0.002726, allocations: 0 / 0.8195 GB, free: 1.66 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.126e-05/0.002737, allocations: 0 / 0.8195 GB, free: 1.66 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.000157/0.002894, allocations: 71.84 kB / 0.8195 GB, free: 1.59 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.701e-05/0.002911, allocations: 0 / 0.8195 GB, free: 1.59 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.064e-06/0.002914, allocations: 7.938 kB / 0.8195 GB, free: 1.582 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.818e-05/0.002932, allocations: 0 / 0.8195 GB, free: 1.582 MB / 0.7917 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.0003071/0.003239, allocations: 240.5 kB / 0.8198 GB, free: 1.32 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.003276, allocations: 8.625 kB / 0.8198 GB, free: 1.312 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.655e-05/0.003303, allocations: 4.922 kB / 0.8198 GB, free: 1.309 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.455e-05/0.003367, allocations: 109.7 kB / 0.8199 GB, free: 1.176 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.003378, allocations: 384 / 0.8199 GB, free: 1.176 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.73e-06/0.003383, allocations: 384 / 0.8199 GB, free: 1.176 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.185e-05/0.003455, allocations: 30.25 kB / 0.8199 GB, free: 1.141 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.003462, allocations: 192 / 0.8199 GB, free: 1.141 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.042e-06/0.003468, allocations: 4.375 kB / 0.8199 GB, free: 1.137 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.003474, allocations: 384 / 0.8199 GB, free: 1.137 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.582e-05/0.003489, allocations: 7.938 kB / 0.8199 GB, free: 1.129 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.04e-05/0.00357, allocations: 65.05 kB / 0.82 GB, free: 1.051 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 4.185e-05/0.003612, allocations: 18.52 kB / 0.82 GB, free: 1.023 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.139e-05/0.003623, allocations: 4.859 kB / 0.82 GB, free: 1.016 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004344/0.004058, allocations: 79.92 kB / 0.8201 GB, free: 0.9375 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.004083, allocations: 38.56 kB / 0.8201 GB, free: 0.8906 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=1): time 1.283e-06/0.004084, allocations: 0 / 0.8201 GB, free: 0.8906 MB / 0.7917 GB Notification: Performance of matching and sorting (n=1): time 9.095e-05/0.004175, allocations: 29.7 kB / 0.8202 GB, free: 0.8555 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.004208, allocations: 55.34 kB / 0.8202 GB, free: 0.7891 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.839e-05/0.004236, allocations: 89.86 kB / 0.8203 GB, free: 0.6914 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 9.488e-06/0.004246, allocations: 25.7 kB / 0.8203 GB, free: 0.6602 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 2.526e-05/0.004271, allocations: 88.12 kB / 0.8204 GB, free: 0.5703 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.623e-05/0.004297, allocations: 0 / 0.8204 GB, free: 0.5703 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.383e-05/0.004321, allocations: 9.719 kB / 0.8204 GB, free: 0.5547 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 8.883e-05/0.00441, allocations: 326.8 kB / 0.8207 GB, free: 232 kB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.651e-06/0.004416, allocations: 4.125 kB / 0.8207 GB, free: 228 kB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.849e-06/0.00442, allocations: 0 / 0.8207 GB, free: 228 kB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.748e-05/0.004448, allocations: 8.859 kB / 0.8207 GB, free: 216 kB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.00445, allocations: 0 / 0.8207 GB, free: 216 kB / 0.7917 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.432e-05/0.004494, allocations: 29.7 kB / 0.8208 GB, free: 180 kB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.004506, allocations: 7.938 kB / 0.8208 GB, free: 172 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.00451, allocations: 0 / 0.8208 GB, free: 172 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.004521, allocations: 3.938 kB / 0.8208 GB, free: 168 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.388e-05/0.004565, allocations: 7.984 kB / 0.8208 GB, free: 160 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.284e-06/0.004567, allocations: 96 / 0.8208 GB, free: 160 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.009e-05/0.004577, allocations: 4 kB / 0.8208 GB, free: 156 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-06/0.004581, allocations: 0 / 0.8208 GB, free: 156 kB / 0.7917 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 5.752e-05/0.004639, allocations: 117.8 kB / 0.8209 GB, free: 28 kB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.09e-06/0.004644, allocations: 0 / 0.8209 GB, free: 28 kB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.205e-05/0.004716, allocations: 36.69 kB / 0.8209 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.004718, allocations: 0 / 0.8209 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.004719, allocations: 0 / 0.8209 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.004722, allocations: 0 / 0.8209 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.318e-05/0.004775, allocations: 61.84 kB / 0.821 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.004777, allocations: 0 / 0.821 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.188e-05/0.004788, allocations: 8.031 kB / 0.821 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.737e-06/0.004792, allocations: 0 / 0.821 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.004794, allocations: 0 / 0.821 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.866e-06/0.004796, allocations: 3.938 kB / 0.821 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.004799, allocations: 4 kB / 0.821 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.0048, allocations: 0 / 0.821 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.226e-05/0.004852, allocations: 57.06 kB / 0.8211 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.053e-06/0.004859, allocations: 0 / 0.8211 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.574e-06/0.004867, allocations: 4 kB / 0.8211 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.167e-06/0.004876, allocations: 4 kB / 0.8211 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.155e-06/0.004878, allocations: 4.031 kB / 0.8211 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 6.693e-06/0.004885, allocations: 4.859 kB / 0.8211 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.004885, allocations: 0 / 0.8211 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001992/0.005084, allocations: 35.86 kB / 0.8211 GB, free: 15.77 MB / 0.8073 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.0002057/0.00529, allocations: 128.3 kB / 0.8212 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.83e-05/0.005348, allocations: 12.8 kB / 0.8213 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.005351, allocations: 0 / 0.8213 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.111e-06/0.005357, allocations: 4.859 kB / 0.8213 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.893e-05/0.005416, allocations: 7.938 kB / 0.8213 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001574/0.005574, allocations: 90.12 kB / 0.8213 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.849e-05/0.005602, allocations: 51.36 kB / 0.8214 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.128e-05/0.005614, allocations: 3.938 kB / 0.8214 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.986e-05/0.005643, allocations: 55.5 kB / 0.8215 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of SimCode: time 7.71e-07/0.005644, allocations: 4 kB / 0.8215 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of Templates: time 0.002754/0.008399, allocations: 0.7225 MB / 0.8222 GB, free: 14.62 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.ref.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.143297111615539]