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.00132/0.00132, 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.001491/0.001491, allocations: 210.9 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.466/1.466, allocations: 230.6 MB / 256 MB, free: 7.996 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.736/2.736, allocations: 476 MB / 0.7699 GB, free: 4.781 MB / 0.6231 GB " [Timeout remaining time 177] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY1,fileNamePrefix="Buildings_11_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.002099/0.002099, allocations: 67.08 kB / 1.117 GB, free: 41.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3155, allocations: 169.9 MB / 1.283 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY1): time 0.001931/0.3174, allocations: 0.5936 MB / 1.283 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0006837/0.3181, allocations: 279.1 kB / 1.283 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.177e-05/0.3181, allocations: 0 / 1.283 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.043e-05/0.3181, allocations: 0 / 1.283 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.801e-06/0.3181, allocations: 4 kB / 1.283 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004957/0.3186, allocations: 99.66 kB / 1.284 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 3.319e-05/0.3187, allocations: 0 / 1.284 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.611e-05/0.3187, allocations: 4 kB / 1.284 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.448e-05/0.3187, allocations: 0 / 1.284 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 1.862e-05/0.3187, allocations: 3.984 kB / 1.284 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.452e-06/0.3187, allocations: 4 kB / 1.284 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002498/0.319, allocations: 119.8 kB / 1.284 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.768e-06/0.319, allocations: 0 / 1.284 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.529e-05/0.319, allocations: 3.984 kB / 1.284 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.3192, allocations: 71.41 kB / 1.284 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3192, allocations: 0 / 1.284 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3192, allocations: 0 / 1.284 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.3192, allocations: 0 / 1.284 GB, free: 11.26 MB / 0.9825 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.0003105/0.3195, allocations: 262 kB / 1.284 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.3195, allocations: 12.03 kB / 1.284 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.478e-05/0.3196, allocations: 30.75 kB / 1.284 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.936e-05/0.3196, allocations: 4.938 kB / 1.284 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.283e-05/0.3197, allocations: 106.5 kB / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.3197, allocations: 384 / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.101e-06/0.3197, allocations: 384 / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.457e-05/0.3198, allocations: 34.2 kB / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.3198, allocations: 7.938 kB / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.221e-06/0.3198, allocations: 0 / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.3198, allocations: 0 / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.756e-05/0.3198, allocations: 0 / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001527/0.32, allocations: 120.8 kB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.733e-05/0.32, allocations: 18.58 kB / 1.284 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.659e-05/0.32, allocations: 8.953 kB / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000658/0.3207, allocations: 91.89 kB / 1.284 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.3207, allocations: 42.5 kB / 1.284 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.3207, allocations: 0 / 1.284 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001249/0.3209, allocations: 41.58 kB / 1.284 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.3209, allocations: 51.41 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.44e-05/0.3209, allocations: 89.86 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.321, allocations: 25.7 kB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.441e-05/0.321, allocations: 80.14 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/0.321, allocations: 3.953 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-05/0.321, allocations: 13.72 kB / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.3212, allocations: 318.8 kB / 1.285 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.177e-06/0.3212, allocations: 4.125 kB / 1.285 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.644e-06/0.3212, allocations: 4 kB / 1.285 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.604e-05/0.3212, allocations: 8.797 kB / 1.285 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3212, allocations: 4 kB / 1.285 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.438e-05/0.3213, allocations: 29.7 kB / 1.285 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.3213, allocations: 4 kB / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.3213, allocations: 3.938 kB / 1.285 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.3213, allocations: 0 / 1.285 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.139e-05/0.3213, allocations: 11.92 kB / 1.285 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.3214, allocations: 4.094 kB / 1.285 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.568e-06/0.3214, allocations: 0 / 1.285 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.3214, allocations: 0 / 1.285 GB, free: 9.66 MB / 0.9825 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.628e-05/0.3214, allocations: 109.8 kB / 1.285 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.726e-06/0.3215, allocations: 4 kB / 1.285 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.539e-05/0.3215, allocations: 40.58 kB / 1.285 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.3215, allocations: 3.984 kB / 1.285 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3215, allocations: 3.984 kB / 1.285 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.3215, allocations: 0 / 1.285 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.273e-05/0.3216, allocations: 116.8 kB / 1.285 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3216, allocations: 4.031 kB / 1.285 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.32e-05/0.3216, allocations: 0 / 1.285 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3217, allocations: 0 / 1.285 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.3217, allocations: 3.938 kB / 1.285 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3217, allocations: 0 / 1.285 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3217, allocations: 0 / 1.285 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.585e-05/0.3217, allocations: 65.06 kB / 1.285 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.652e-06/0.3217, allocations: 4 kB / 1.285 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.3218, allocations: 7.938 kB / 1.285 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.284e-06/0.3218, allocations: 0 / 1.285 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.067e-06/0.3218, allocations: 0 / 1.285 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-06/0.3218, allocations: 4.031 kB / 1.285 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.557e-05/0.3218, allocations: 75.28 kB / 1.286 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3218, allocations: 0 / 1.286 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002357/0.322, allocations: 35.92 kB / 1.286 GB, free: 9.117 MB / 0.9825 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.0005324/0.3226, allocations: 0.6357 MB / 1.286 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 6.825e-05/0.3226, allocations: 7.938 kB / 1.286 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3226, allocations: 0 / 1.286 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.418e-06/0.3227, allocations: 4 kB / 1.286 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001254/0.3228, allocations: 0 / 1.286 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003236/0.3231, allocations: 114.5 kB / 1.286 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.697e-05/0.3232, allocations: 59.3 kB / 1.286 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.428e-06/0.3232, allocations: 4.125 kB / 1.286 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.794e-05/0.3232, allocations: 7.438 kB / 1.286 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.3232, allocations: 0 / 1.286 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0276/0.3508, allocations: 1.916 MB / 1.288 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.34, allocations: 3.141 kB / 1.288 GB, free: 6.406 MB / 0.9825 GB " [Timeout remaining time 288] (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: 17.85856018587947]