Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001967/0.001967, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002599/0.002599, allocations: 211.2 kB / 22.24 MB, free: 4.859 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.54/1.54, allocations: 230.6 MB / 256 MB, free: 7.797 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.236/3.236, allocations: 0.4892 GB / 0.7943 GB, free: 35.5 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.Examples.BesselY0,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY0,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_BesselY0",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.002124/0.002124, allocations: 71.42 kB / 1.153 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4237/0.4258, allocations: 176.1 MB / 1.325 GB, free: 2.336 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002893/0.4287, allocations: 1.455 MB / 1.326 GB, free: 0.875 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0007522/0.4294, allocations: 311 kB / 1.327 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.803e-05/0.4295, allocations: 7.938 kB / 1.327 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.464e-05/0.4295, allocations: 3.938 kB / 1.327 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.553e-05/0.4295, allocations: 7.984 kB / 1.327 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004778/0.43, allocations: 95.72 kB / 1.327 GB, free: 468 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.246e-05/0.4301, allocations: 23.92 kB / 1.327 GB, free: 444 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.4302, allocations: 8 kB / 1.327 GB, free: 436 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.183e-05/0.4302, allocations: 7.984 kB / 1.327 GB, free: 428 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.208e-05/0.4303, allocations: 15.92 kB / 1.327 GB, free: 412 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.4303, allocations: 4 kB / 1.327 GB, free: 408 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002217/0.4305, allocations: 111.8 kB / 1.327 GB, free: 296 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.507e-05/0.4305, allocations: 7.984 kB / 1.327 GB, free: 288 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.664e-05/0.4306, allocations: 15.92 kB / 1.327 GB, free: 272 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000197/0.4308, allocations: 87.97 kB / 1.327 GB, free: 184 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4308, allocations: 0 / 1.327 GB, free: 184 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.515e-06/0.4308, allocations: 0 / 1.327 GB, free: 184 kB / 1.014 GB Notification: Performance of Transformations before backend: time 1.039e-05/0.4308, allocations: 0 / 1.327 GB, free: 184 kB / 1.014 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.0004957/0.4313, allocations: 280.1 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.4313, allocations: 12.03 kB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.542e-05/0.4313, allocations: 30.75 kB / 1.327 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.337e-05/0.4314, allocations: 0.9375 kB / 1.327 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.4315, allocations: 130.3 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.414e-06/0.4315, allocations: 384 / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.4315, allocations: 8.375 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.4317, allocations: 46.23 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.4317, allocations: 3.938 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.4317, allocations: 4 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.4317, allocations: 4 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.4319, allocations: 27.97 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003591/0.4322, allocations: 220 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.4324, allocations: 38.5 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.199e-05/0.4324, allocations: 20.91 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005236/0.433, allocations: 79.91 kB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.433, allocations: 30.56 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.433, allocations: 4 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003496/0.4333, allocations: 81.58 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.4334, allocations: 51.41 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.797e-05/0.4335, allocations: 101.9 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.4335, allocations: 29.69 kB / 1.328 GB, free: 14.83 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.959e-05/0.4335, allocations: 80.27 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.69e-05/0.4336, allocations: 7.953 kB / 1.328 GB, free: 14.74 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.45e-05/0.4336, allocations: 17.72 kB / 1.328 GB, free: 14.72 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.4337, allocations: 310.8 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.02e-05/0.4338, allocations: 23.91 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.903e-05/0.4339, allocations: 19.92 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.434, allocations: 36.83 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/0.434, allocations: 8 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001885/0.4342, allocations: 65.59 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.4342, allocations: 8 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.4342, allocations: 0 / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.4343, allocations: 0 / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.314e-05/0.4343, allocations: 11.98 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.4344, allocations: 0 / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.188e-05/0.4344, allocations: 4 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.4344, allocations: 4.031 kB / 1.329 GB, free: 14.22 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 (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 9.064e-05/0.4345, allocations: 118.3 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/0.4345, allocations: 7.953 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002338/0.4347, allocations: 72.91 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.4348, allocations: 0 / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.4348, allocations: 0 / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.4348, allocations: 0 / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.4349, allocations: 128.7 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4349, allocations: 4.031 kB / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.29e-05/0.435, allocations: 7.984 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.435, allocations: 0 / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.435, allocations: 4 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.435, allocations: 4 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.435, allocations: 4 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000239/0.4352, allocations: 159.5 kB / 1.329 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.492e-06/0.4352, allocations: 192 / 1.329 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.4352, allocations: 4.031 kB / 1.329 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.626e-05/0.4353, allocations: 15.97 kB / 1.329 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.911e-05/0.4354, allocations: 4 kB / 1.329 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.4354, allocations: 0 / 1.329 GB, free: 13.62 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.874e-05/0.4354, allocations: 83.22 kB / 1.329 GB, free: 13.54 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4354, allocations: 0 / 1.329 GB, free: 13.54 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002542/0.4357, allocations: 31.92 kB / 1.33 GB, free: 13.5 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 (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.0007444/0.4364, allocations: 0.7366 MB / 1.33 GB, free: 12.74 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002155/0.4366, allocations: 39.91 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.4366, allocations: 4.094 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.361e-05/0.4367, allocations: 23.91 kB / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002377/0.4369, allocations: 3.938 kB / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004922/0.4374, allocations: 151.1 kB / 1.33 GB, free: 12.48 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.317e-05/0.4375, allocations: 63.34 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.322e-05/0.4375, allocations: 3.906 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.781e-05/0.4376, allocations: 7.438 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4376, allocations: 4.062 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03034/0.4679, allocations: 2.284 MB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.56, allocations: 2.234 kB / 1.333 GB, free: 10.23 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.BesselY0_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --stepSize=0.01196 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Examples_BesselY0.fmu > Buildings_12_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.506087427027524]