Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.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.002029/0.002029, allocations: 116.8 kB / 17.17 MB, free: 5.977 MB / 14.72 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.002678/0.002678, allocations: 209.6 kB / 20.13 MB, free: 3.035 MB / 14.72 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.577/1.577, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.914/2.914, allocations: 476.7 MB / 0.7678 GB, free: 9.441 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY0,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BesselY0",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY0,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BesselY0",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002963/0.002963, allocations: 73.75 kB / 1.113 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.11/1.113, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002744/1.116, allocations: 1.452 MB / 1.28 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007442/1.116, allocations: 350.2 kB / 1.281 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.207e-05/1.116, allocations: 0 / 1.281 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.567e-05/1.116, allocations: 1.672 kB / 1.281 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.034e-05/1.117, allocations: 4.641 kB / 1.281 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004528/1.117, allocations: 102.8 kB / 1.281 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.418e-05/1.117, allocations: 23.88 kB / 1.281 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.972e-05/1.117, allocations: 11.58 kB / 1.281 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.859e-05/1.117, allocations: 12.48 kB / 1.281 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.849e-05/1.117, allocations: 10.58 kB / 1.281 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/1.117, allocations: 2.25 kB / 1.281 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002403/1.117, allocations: 127.3 kB / 1.281 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.207e-05/1.117, allocations: 5.312 kB / 1.281 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.146e-05/1.117, allocations: 8.156 kB / 1.281 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001949/1.118, allocations: 85.48 kB / 1.281 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/1.118, allocations: 1.094 kB / 1.281 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.573e-06/1.118, allocations: 0 / 1.281 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.668e-06/1.118, allocations: 0 / 1.281 GB, free: 10.34 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.0005497/1.118, allocations: 359.1 kB / 1.281 GB, free: 9.961 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/1.118, allocations: 10.2 kB / 1.281 GB, free: 9.961 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.301e-05/1.118, allocations: 1.188 kB / 1.281 GB, free: 9.961 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.873e-05/1.118, allocations: 36.53 kB / 1.281 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.182e-05/1.118, allocations: 2.031 kB / 1.281 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/1.118, allocations: 167 kB / 1.282 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/1.118, allocations: 1.5 kB / 1.282 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/1.119, allocations: 5.438 kB / 1.282 GB, free: 9.715 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/1.119, allocations: 56.95 kB / 1.282 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/1.119, allocations: 0 / 1.282 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/1.119, allocations: 5.062 kB / 1.282 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/1.119, allocations: 0 / 1.282 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001756/1.119, allocations: 33.2 kB / 1.282 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003426/1.119, allocations: 254.3 kB / 1.282 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/1.119, allocations: 40.03 kB / 1.282 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/1.119, allocations: 19.64 kB / 1.282 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007835/1.12, allocations: 461.4 kB / 1.282 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/1.12, allocations: 32.36 kB / 1.282 GB, free: 8.828 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/1.12, allocations: 0 / 1.282 GB, free: 8.828 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.000393/1.121, allocations: 87.48 kB / 1.283 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.83e-05/1.121, allocations: 52.61 kB / 1.283 GB, free: 8.719 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.705e-05/1.121, allocations: 101.3 kB / 1.283 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/1.121, allocations: 30.2 kB / 1.283 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.652e-05/1.121, allocations: 85.72 kB / 1.283 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/1.121, allocations: 5.75 kB / 1.283 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-05/1.121, allocations: 12.45 kB / 1.283 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001371/1.121, allocations: 316.6 kB / 1.283 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.386e-05/1.121, allocations: 13.77 kB / 1.283 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.229e-05/1.121, allocations: 23.25 kB / 1.283 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001855/1.122, allocations: 40.47 kB / 1.283 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/1.122, allocations: 0.5625 kB / 1.283 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002398/1.122, allocations: 66.67 kB / 1.283 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/1.122, allocations: 6.078 kB / 1.283 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/1.122, allocations: 4.656 kB / 1.283 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/1.122, allocations: 0.5312 kB / 1.283 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.636e-05/1.122, allocations: 8.953 kB / 1.283 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/1.122, allocations: 0.5 kB / 1.283 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.225e-05/1.122, allocations: 9.844 kB / 1.283 GB, free: 8.09 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/1.122, allocations: 1.703 kB / 1.283 GB, free: 8.09 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 8.976e-05/1.122, allocations: 115.4 kB / 1.283 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.8e-05/1.122, allocations: 6.188 kB / 1.283 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000246/1.122, allocations: 75.02 kB / 1.284 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/1.122, allocations: 5.25 kB / 1.284 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/1.122, allocations: 0 / 1.284 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/1.122, allocations: 5.672 kB / 1.284 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/1.122, allocations: 158.4 kB / 1.284 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/1.122, allocations: 1.469 kB / 1.284 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.759e-05/1.123, allocations: 8.5 kB / 1.284 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/1.123, allocations: 0.6562 kB / 1.284 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/1.123, allocations: 9.344 kB / 1.284 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/1.123, allocations: 0 / 1.284 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.123, allocations: 0.6562 kB / 1.284 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002556/1.123, allocations: 158.5 kB / 1.284 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.456e-05/1.123, allocations: 79.56 kB / 1.284 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/1.123, allocations: 1.344 kB / 1.284 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.631e-05/1.123, allocations: 14.52 kB / 1.284 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.49e-05/1.123, allocations: 9.719 kB / 1.284 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/1.123, allocations: 0.75 kB / 1.284 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.172e-05/1.123, allocations: 79.73 kB / 1.284 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.123, allocations: 0 / 1.284 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002726/1.123, allocations: 28.91 kB / 1.284 GB, free: 7.379 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.0007227/1.124, allocations: 0.7382 MB / 1.285 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002265/1.124, allocations: 39.44 kB / 1.285 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/1.124, allocations: 0 / 1.285 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.009e-05/1.124, allocations: 20.36 kB / 1.285 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/1.125, allocations: 3.234 kB / 1.285 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004654/1.125, allocations: 163.1 kB / 1.285 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/1.125, allocations: 0.6755 MB / 1.286 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.212e-05/1.125, allocations: 2.078 kB / 1.286 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.089e-05/1.125, allocations: 9.156 kB / 1.286 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of SimCode: time 2.91e-07/1.125, allocations: 0 / 1.286 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01879/1.144, allocations: 1.795 MB / 1.287 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.462/9.606, allocations: 6.75 kB / 1.287 GB, free: 5.383 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.BesselY0_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --stepSize=0.01196 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_BesselY0.fmu > Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 16.18641587300226]