Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY1.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.001387/0.001387, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.001398/0.001398, allocations: 215 kB / 20.13 MB, free: 2.949 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.498/1.498, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.804/2.804, allocations: 476.7 MB / 0.7678 GB, free: 9.371 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.Functions.Examples.BesselY1,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselY1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY1,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselY1",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.002114/0.002114, allocations: 67.89 kB / 1.113 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9985/1.001, allocations: 169.9 MB / 1.279 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY1): time 0.001939/1.003, allocations: 0.5765 MB / 1.28 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007599/1.003, allocations: 310.5 kB / 1.28 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.759e-05/1.003, allocations: 0 / 1.28 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.332e-05/1.003, allocations: 4 kB / 1.28 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.132e-06/1.003, allocations: 3.938 kB / 1.28 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005333/1.004, allocations: 100.4 kB / 1.28 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.978e-05/1.004, allocations: 5.328 kB / 1.28 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.103e-05/1.004, allocations: 2.328 kB / 1.28 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.378e-05/1.004, allocations: 0 / 1.28 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.341e-05/1.004, allocations: 0 / 1.28 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.264e-06/1.004, allocations: 1.25 kB / 1.28 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003108/1.004, allocations: 132.6 kB / 1.28 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.536e-06/1.004, allocations: 0 / 1.28 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.842e-05/1.004, allocations: 5.859 kB / 1.28 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000192/1.005, allocations: 70.94 kB / 1.28 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/1.005, allocations: 0 / 1.28 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.663e-06/1.005, allocations: 0 / 1.28 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.02e-05/1.005, allocations: 5.094 kB / 1.28 GB, free: 11.05 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003838/1.005, allocations: 330.3 kB / 1.28 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/1.005, allocations: 10.92 kB / 1.28 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.278e-05/1.005, allocations: 192 / 1.28 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.8e-05/1.005, allocations: 39.78 kB / 1.281 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.202e-05/1.005, allocations: 5.641 kB / 1.281 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/1.005, allocations: 162.3 kB / 1.281 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/1.005, allocations: 384 / 1.281 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/1.005, allocations: 1.438 kB / 1.281 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/1.005, allocations: 31.86 kB / 1.281 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/1.005, allocations: 1.797 kB / 1.281 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/1.005, allocations: 0 / 1.281 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/1.005, allocations: 0 / 1.281 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.148e-05/1.005, allocations: 6.188 kB / 1.281 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001527/1.005, allocations: 148.6 kB / 1.281 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.511e-05/1.006, allocations: 20.42 kB / 1.281 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.705e-05/1.006, allocations: 6.141 kB / 1.281 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008823/1.006, allocations: 472.7 kB / 1.281 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/1.006, allocations: 36.34 kB / 1.281 GB, free: 9.652 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/1.006, allocations: 0 / 1.281 GB, free: 9.652 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001601/1.007, allocations: 35.98 kB / 1.281 GB, free: 9.617 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/1.007, allocations: 56.14 kB / 1.281 GB, free: 9.551 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.752e-05/1.007, allocations: 90.8 kB / 1.282 GB, free: 9.453 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/1.007, allocations: 29.83 kB / 1.282 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.154e-05/1.007, allocations: 80.14 kB / 1.282 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.257e-05/1.007, allocations: 9.531 kB / 1.282 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.829e-05/1.007, allocations: 11.66 kB / 1.282 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001335/1.007, allocations: 312.8 kB / 1.282 GB, free: 9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.055e-05/1.007, allocations: 0.75 kB / 1.282 GB, free: 9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.959e-06/1.007, allocations: 1.156 kB / 1.282 GB, free: 9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.932e-05/1.007, allocations: 13.5 kB / 1.282 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/1.007, allocations: 4 kB / 1.282 GB, free: 8.984 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.677e-05/1.007, allocations: 32.17 kB / 1.282 GB, free: 8.953 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/1.007, allocations: 9.25 kB / 1.282 GB, free: 8.949 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/1.007, allocations: 3.938 kB / 1.282 GB, free: 8.945 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/1.007, allocations: 4.688 kB / 1.282 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.681e-05/1.007, allocations: 2.656 kB / 1.282 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/1.007, allocations: 0 / 1.282 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.022e-05/1.007, allocations: 0.8438 kB / 1.282 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/1.007, allocations: 1.156 kB / 1.282 GB, free: 8.941 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 (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 7.587e-05/1.007, allocations: 111.7 kB / 1.282 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.895e-06/1.007, allocations: 3.938 kB / 1.282 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.061e-05/1.007, allocations: 43.72 kB / 1.282 GB, free: 8.773 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/1.007, allocations: 1.094 kB / 1.282 GB, free: 8.773 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/1.007, allocations: 0 / 1.282 GB, free: 8.773 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/1.007, allocations: 1.859 kB / 1.282 GB, free: 8.773 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/1.007, allocations: 148.2 kB / 1.282 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/1.007, allocations: 0 / 1.282 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.13e-05/1.007, allocations: 2.172 kB / 1.282 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/1.007, allocations: 13.19 kB / 1.282 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.519e-06/1.007, allocations: 3.938 kB / 1.282 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/1.007, allocations: 4.547 kB / 1.282 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/1.007, allocations: 0.75 kB / 1.282 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.264e-05/1.008, allocations: 57.41 kB / 1.282 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.463e-05/1.008, allocations: 81.8 kB / 1.282 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/1.008, allocations: 5.656 kB / 1.283 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.113e-06/1.008, allocations: 4.031 kB / 1.283 GB, free: 8.391 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.091e-05/1.008, allocations: 1.859 kB / 1.283 GB, free: 8.391 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-06/1.008, allocations: 1.094 kB / 1.283 GB, free: 8.391 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.256e-05/1.008, allocations: 75.28 kB / 1.283 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5e-08/1.008, allocations: 0 / 1.283 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002527/1.008, allocations: 26.7 kB / 1.283 GB, free: 8.312 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 (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.0005529/1.008, allocations: 0.6327 MB / 1.283 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.57e-05/1.009, allocations: 8.125 kB / 1.283 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/1.009, allocations: 5.188 kB / 1.283 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.033e-06/1.009, allocations: 2.172 kB / 1.283 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001289/1.009, allocations: 1.031 kB / 1.283 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003303/1.009, allocations: 134.4 kB / 1.283 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/1.009, allocations: 0.6711 MB / 1.284 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.698e-06/1.009, allocations: 1.031 kB / 1.284 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.587e-05/1.009, allocations: 8.5 kB / 1.284 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of SimCode: time 3.2e-07/1.009, allocations: 0 / 1.284 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01796/1.027, allocations: 1.472 MB / 1.285 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.247/9.274, allocations: 10.11 kB / 1.285 GB, free: 6.426 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --stepSize=0.01196 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselY1.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY1.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: 15.603497895994224]