Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001685/0.001685, allocations: 108.9 kB / 16.46 MB, free: 6.508 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.002091/0.002091, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.639/1.639, allocations: 230.6 MB / 252.8 MB, free: 9.094 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.298/3.298, allocations: 0.49 GB / 0.7916 GB, free: 33.51 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_Math_Functions_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY1,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_BesselY1",fmuType="me",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.002062/0.002062, allocations: 83.56 kB / 1.149 GB, free: 26.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4003/0.4023, allocations: 176.1 MB / 1.321 GB, free: 3.273 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY1): time 0.001946/0.4043, allocations: 0.5786 MB / 1.321 GB, free: 2.695 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0007333/0.405, allocations: 307.4 kB / 1.322 GB, free: 2.395 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.652e-05/0.405, allocations: 0 / 1.322 GB, free: 2.395 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.288e-05/0.405, allocations: 0 / 1.322 GB, free: 2.395 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.012e-06/0.405, allocations: 0 / 1.322 GB, free: 2.395 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000555/0.4056, allocations: 106.8 kB / 1.322 GB, free: 2.293 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 4.723e-05/0.4056, allocations: 4 kB / 1.322 GB, free: 2.289 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.283e-05/0.4057, allocations: 3.984 kB / 1.322 GB, free: 2.285 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.569e-05/0.4057, allocations: 0 / 1.322 GB, free: 2.285 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.257e-05/0.4057, allocations: 4 kB / 1.322 GB, free: 2.281 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.682e-06/0.4057, allocations: 0 / 1.322 GB, free: 2.281 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002923/0.406, allocations: 135.7 kB / 1.322 GB, free: 2.148 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.167e-06/0.406, allocations: 0 / 1.322 GB, free: 2.148 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.024e-05/0.4061, allocations: 4 kB / 1.322 GB, free: 2.145 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000182/0.4062, allocations: 72.05 kB / 1.322 GB, free: 2.074 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.4062, allocations: 4 kB / 1.322 GB, free: 2.07 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.343e-06/0.4062, allocations: 4 kB / 1.322 GB, free: 2.066 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.976e-06/0.4062, allocations: 0 / 1.322 GB, free: 2.066 MB / 1.014 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.0003702/0.4066, allocations: 327.4 kB / 1.322 GB, free: 1.695 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.4067, allocations: 15.98 kB / 1.322 GB, free: 1.68 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.409e-05/0.4067, allocations: 30.75 kB / 1.322 GB, free: 1.641 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.123e-05/0.4067, allocations: 0.9375 kB / 1.322 GB, free: 1.641 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.4068, allocations: 160.4 kB / 1.323 GB, free: 1.445 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.4069, allocations: 4.312 kB / 1.323 GB, free: 1.441 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.4069, allocations: 384 / 1.323 GB, free: 1.441 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.746e-05/0.407, allocations: 38.25 kB / 1.323 GB, free: 1.398 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.407, allocations: 3.938 kB / 1.323 GB, free: 1.395 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.407, allocations: 0 / 1.323 GB, free: 1.395 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.407, allocations: 0 / 1.323 GB, free: 1.395 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.167e-05/0.407, allocations: 4 kB / 1.323 GB, free: 1.391 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00016/0.4072, allocations: 141.7 kB / 1.323 GB, free: 1.203 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 4.557e-05/0.4072, allocations: 22.55 kB / 1.323 GB, free: 1.172 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.72e-05/0.4072, allocations: 4.859 kB / 1.323 GB, free: 1.164 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008962/0.4081, allocations: 477.5 kB / 1.323 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.4082, allocations: 34.56 kB / 1.323 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.4082, allocations: 4 kB / 1.323 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001458/0.4083, allocations: 37.64 kB / 1.323 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.4083, allocations: 51.41 kB / 1.323 GB, free: 464 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.855e-05/0.4084, allocations: 89.86 kB / 1.323 GB, free: 364 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.4084, allocations: 25.7 kB / 1.323 GB, free: 332 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.596e-05/0.4085, allocations: 88.12 kB / 1.324 GB, free: 240 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.849e-05/0.4085, allocations: 7.938 kB / 1.324 GB, free: 232 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.752e-05/0.4085, allocations: 9.719 kB / 1.324 GB, free: 216 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.4087, allocations: 315 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.244e-05/0.4087, allocations: 7.938 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.302e-06/0.4087, allocations: 0 / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.411e-05/0.4087, allocations: 16.8 kB / 1.324 GB, free: 15.87 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.4087, allocations: 0 / 1.324 GB, free: 15.87 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.693e-05/0.4088, allocations: 29.7 kB / 1.324 GB, free: 15.83 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.4088, allocations: 4 kB / 1.324 GB, free: 15.83 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.4088, allocations: 7.922 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.4088, allocations: 4.094 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.446e-05/0.4089, allocations: 4 kB / 1.324 GB, free: 15.81 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.4089, allocations: 3.938 kB / 1.324 GB, free: 15.81 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.438e-06/0.4089, allocations: 0 / 1.324 GB, free: 15.81 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.4089, allocations: 3.938 kB / 1.324 GB, free: 15.8 MB / 1.029 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 8.117e-05/0.409, allocations: 111.6 kB / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.233e-06/0.409, allocations: 0 / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.277e-05/0.409, allocations: 44.75 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.4091, allocations: 4.031 kB / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.4091, allocations: 0 / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.4091, allocations: 0 / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.4092, allocations: 141.7 kB / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.4092, allocations: 0 / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.454e-05/0.4092, allocations: 7.984 kB / 1.324 GB, free: 15.44 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.4092, allocations: 0 / 1.324 GB, free: 15.44 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.4092, allocations: 3.938 kB / 1.324 GB, free: 15.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.4092, allocations: 3.984 kB / 1.324 GB, free: 15.43 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4092, allocations: 0 / 1.324 GB, free: 15.43 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.879e-05/0.4093, allocations: 65.08 kB / 1.324 GB, free: 15.35 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.968e-05/0.4093, allocations: 77.11 kB / 1.324 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.4093, allocations: 3.938 kB / 1.324 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.223e-06/0.4094, allocations: 0 / 1.324 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.16e-05/0.4094, allocations: 3.984 kB / 1.324 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.4094, allocations: 8 kB / 1.324 GB, free: 15.24 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.479e-05/0.4094, allocations: 75.28 kB / 1.324 GB, free: 15.16 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4094, allocations: 0 / 1.324 GB, free: 15.16 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002348/0.4096, allocations: 27.97 kB / 1.324 GB, free: 15.14 MB / 1.029 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.0005759/0.4102, allocations: 0.6357 MB / 1.325 GB, free: 14.47 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.051e-05/0.4103, allocations: 8 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4103, allocations: 3.938 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.316e-06/0.4103, allocations: 4 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001273/0.4104, allocations: 0 / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003395/0.4108, allocations: 122.5 kB / 1.325 GB, free: 14.29 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.4111, allocations: 0.669 MB / 1.326 GB, free: 13.6 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.134e-05/0.4111, allocations: 0 / 1.326 GB, free: 13.6 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.611e-05/0.4111, allocations: 11.44 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.4111, allocations: 0 / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02651/0.4376, allocations: 1.413 MB / 1.327 GB, free: 12.26 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.973/8.411, allocations: 14.36 kB / 1.327 GB, free: 12.25 MB / 1.029 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --stepSize=0.01196 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Functions_Examples_BesselY1.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.436131583992392]