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.0009363/0.0009363, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009507/0.0009507, allocations: 169.9 kB / 22.46 MB, free: 2.105 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 0.8769/0.8769, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.833/1.833, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.775e-06/2.775e-06, allocations: 0 / 0.9997 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.696e-05/2.974e-05, allocations: 5.094 kB / 0.9997 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.002242/0.002272, allocations: 0.5799 MB / 1 GB, free: 12.86 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0006736/0.002945, allocations: 255 kB / 1.001 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.571e-05/0.002961, allocations: 3.938 kB / 1.001 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.918e-05/0.00298, allocations: 0 / 1.001 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.055e-06/0.002988, allocations: 4 kB / 1.001 GB, free: 12.6 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005509/0.003539, allocations: 95.61 kB / 1.001 GB, free: 12.51 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 4.942e-05/0.003589, allocations: 7.984 kB / 1.001 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.927e-05/0.003638, allocations: 0 / 1.001 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 2.708e-05/0.003665, allocations: 0 / 1.001 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.095e-05/0.003686, allocations: 0 / 1.001 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.006e-05/0.003696, allocations: 0 / 1.001 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002473/0.003943, allocations: 123.7 kB / 1.001 GB, free: 12.38 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.484e-05/0.003958, allocations: 3.984 kB / 1.001 GB, free: 12.38 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.538e-05/0.003974, allocations: 0 / 1.001 GB, free: 12.38 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.004145, allocations: 83.88 kB / 1.001 GB, free: 12.29 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.004148, allocations: 0 / 1.001 GB, free: 12.29 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.774e-06/0.004149, allocations: 0 / 1.001 GB, free: 12.29 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.004155, allocations: 0 / 1.001 GB, free: 12.29 MB / 0.9636 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.0002912/0.004446, allocations: 254.3 kB / 1.001 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.004493, allocations: 12.75 kB / 1.001 GB, free: 12 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.248e-05/0.004525, allocations: 30.75 kB / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.609e-05/0.004551, allocations: 0.9375 kB / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.847e-05/0.00462, allocations: 101.8 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.004632, allocations: 384 / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-06/0.004641, allocations: 4.312 kB / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.729e-05/0.004739, allocations: 38.25 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.004748, allocations: 192 / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.004758, allocations: 4.359 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.004765, allocations: 4.125 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.206e-05/0.004787, allocations: 4 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001382/0.004925, allocations: 120.8 kB / 1.001 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.723e-05/0.004973, allocations: 22.61 kB / 1.001 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.697e-05/0.00499, allocations: 8.797 kB / 1.001 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005523/0.005542, allocations: 83.97 kB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.005566, allocations: 34.5 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 2.144e-06/0.005568, allocations: 0 / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0001471/0.005716, allocations: 37.7 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.005744, allocations: 55.34 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.509e-05/0.005769, allocations: 89.86 kB / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.676e-06/0.005777, allocations: 25.7 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 1.675e-05/0.005794, allocations: 84.27 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.005821, allocations: 3.953 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.491e-05/0.005846, allocations: 17.7 kB / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.439e-05/0.00592, allocations: 310.8 kB / 1.002 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.054e-05/0.005931, allocations: 7.875 kB / 1.002 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.263e-06/0.005938, allocations: 4 kB / 1.002 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.951e-05/0.005977, allocations: 8.859 kB / 1.002 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.00598, allocations: 0 / 1.002 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.584e-05/0.006015, allocations: 33.7 kB / 1.002 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.00603, allocations: 8.094 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.006035, allocations: 0 / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.006047, allocations: 3.984 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.332e-05/0.00609, allocations: 4 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.006097, allocations: 3.938 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.626e-06/0.006105, allocations: 0 / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.006112, allocations: 3.984 kB / 1.002 GB, free: 10.7 MB / 0.9636 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.099e-05/0.006163, allocations: 109.8 kB / 1.002 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.737e-06/0.006166, allocations: 4 kB / 1.002 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.416e-05/0.006231, allocations: 40.69 kB / 1.002 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.006233, allocations: 4.031 kB / 1.002 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.006237, allocations: 3.938 kB / 1.002 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.00624, allocations: 0 / 1.002 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.218e-05/0.006302, allocations: 116.7 kB / 1.002 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.006303, allocations: 0 / 1.002 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.103e-06/0.00631, allocations: 4 kB / 1.002 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-06/0.006311, allocations: 0 / 1.002 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-06/0.006316, allocations: 0 / 1.002 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.006316, allocations: 0 / 1.002 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.006318, allocations: 3.938 kB / 1.002 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.676e-05/0.006365, allocations: 69.06 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.036e-06/0.006368, allocations: 3.938 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.714e-06/0.006376, allocations: 0 / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.252e-06/0.006382, allocations: 8 kB / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.129e-05/0.006393, allocations: 3.938 kB / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-06/0.006394, allocations: 0 / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 1.929e-05/0.006414, allocations: 76.06 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006414, allocations: 0 / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001572/0.006571, allocations: 27.92 kB / 1.003 GB, free: 10.16 MB / 0.9636 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.0003355/0.006906, allocations: 0.632 MB / 1.003 GB, free: 9.496 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 5.776e-05/0.006964, allocations: 7.938 kB / 1.003 GB, free: 9.488 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.006966, allocations: 0 / 1.003 GB, free: 9.488 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.807e-06/0.00697, allocations: 4.062 kB / 1.003 GB, free: 9.484 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.553e-05/0.007065, allocations: 10.06 kB / 1.003 GB, free: 9.477 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002311/0.007296, allocations: 118.6 kB / 1.003 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.043e-05/0.007327, allocations: 55.36 kB / 1.003 GB, free: 9.246 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 8.005e-06/0.007335, allocations: 3.938 kB / 1.003 GB, free: 9.242 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.353e-05/0.007348, allocations: 8.5 kB / 1.003 GB, free: 9.234 MB / 0.9636 GB Notification: Performance of SimCode: time 5.11e-07/0.007349, allocations: 0 / 1.003 GB, free: 9.234 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01488/0.02223, allocations: 2.025 MB / 1.005 GB, free: 7.336 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.671/6.694, allocations: 7.438 kB / 1.005 GB, free: 7.332 MB / 0.9636 GB " [Timeout remaining time 293] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --stepSize=0.01196 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselY0.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselY0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.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: 10.829176254570484]