Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002099/0.002099, allocations: 116.8 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.00243/0.00243, allocations: 212 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.643/1.643, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.122/3.122, allocations: 0.5003 GB / 0.8026 GB, free: 6.848 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Math_Functions_Examples_BesselY1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY1,fileNamePrefix="Buildings_latest_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.002382/0.002382, allocations: 71.91 kB / 1.165 GB, free: 456 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.133/1.135, allocations: 178.9 MB / 1.34 GB, free: 16.34 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY1): time 0.001721/1.137, allocations: 0.5882 MB / 1.341 GB, free: 15.97 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0006246/1.138, allocations: 301.8 kB / 1.341 GB, free: 15.77 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.805e-05/1.138, allocations: 1.125 kB / 1.341 GB, free: 15.77 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.371e-05/1.138, allocations: 7.938 kB / 1.341 GB, free: 15.77 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.714e-06/1.138, allocations: 0 / 1.341 GB, free: 15.77 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005168/1.138, allocations: 100.4 kB / 1.341 GB, free: 15.73 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 4.418e-05/1.138, allocations: 5.391 kB / 1.341 GB, free: 15.73 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.914e-05/1.138, allocations: 0.7031 kB / 1.341 GB, free: 15.73 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.23e-05/1.138, allocations: 1.125 kB / 1.341 GB, free: 15.73 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 2.281e-05/1.138, allocations: 1.891 kB / 1.341 GB, free: 15.73 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.712e-06/1.139, allocations: 0 / 1.341 GB, free: 15.73 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002881/1.139, allocations: 136.2 kB / 1.341 GB, free: 15.68 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.226e-06/1.139, allocations: 1.125 kB / 1.341 GB, free: 15.68 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.718e-05/1.139, allocations: 4 kB / 1.341 GB, free: 15.68 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001804/1.139, allocations: 75.39 kB / 1.341 GB, free: 15.65 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/1.139, allocations: 1.094 kB / 1.341 GB, free: 15.65 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.713e-06/1.139, allocations: 0 / 1.341 GB, free: 15.65 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.95e-06/1.139, allocations: 3.938 kB / 1.341 GB, free: 15.65 MB / 1.061 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.0002936/1.139, allocations: 325.5 kB / 1.342 GB, free: 15.29 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/1.139, allocations: 9.5 kB / 1.342 GB, free: 15.29 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.466e-05/1.139, allocations: 192 / 1.342 GB, free: 15.29 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.096e-05/1.139, allocations: 40.47 kB / 1.342 GB, free: 15.25 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.049e-05/1.139, allocations: 4.938 kB / 1.342 GB, free: 15.24 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.044e-05/1.139, allocations: 162.7 kB / 1.342 GB, free: 15.05 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.582e-06/1.139, allocations: 384 / 1.342 GB, free: 15.05 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/1.139, allocations: 1.312 kB / 1.342 GB, free: 15.05 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.864e-05/1.14, allocations: 32.16 kB / 1.342 GB, free: 15.01 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/1.14, allocations: 0 / 1.342 GB, free: 15.01 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.305e-06/1.14, allocations: 1.828 kB / 1.342 GB, free: 15.01 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/1.14, allocations: 0 / 1.342 GB, free: 15.01 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.825e-05/1.14, allocations: 1.375 kB / 1.342 GB, free: 15.01 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001171/1.14, allocations: 148.8 kB / 1.342 GB, free: 14.82 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.346e-05/1.14, allocations: 26.45 kB / 1.342 GB, free: 14.79 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.646e-05/1.14, allocations: 4.859 kB / 1.342 GB, free: 14.78 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007923/1.141, allocations: 473.1 kB / 1.343 GB, free: 14.3 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/1.141, allocations: 39.66 kB / 1.343 GB, free: 14.26 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/1.141, allocations: 0 / 1.343 GB, free: 14.26 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001519/1.141, allocations: 31.83 kB / 1.343 GB, free: 14.23 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.415e-05/1.141, allocations: 56.44 kB / 1.343 GB, free: 14.16 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.251e-05/1.141, allocations: 90.66 kB / 1.343 GB, free: 14.06 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.366e-06/1.141, allocations: 29.83 kB / 1.343 GB, free: 14.03 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.612e-05/1.141, allocations: 80.14 kB / 1.343 GB, free: 13.95 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/1.141, allocations: 9.016 kB / 1.343 GB, free: 13.94 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.706e-05/1.141, allocations: 16.64 kB / 1.343 GB, free: 13.92 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.75e-05/1.141, allocations: 311.6 kB / 1.343 GB, free: 13.61 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.027e-06/1.141, allocations: 1.125 kB / 1.343 GB, free: 13.61 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.631e-06/1.141, allocations: 1.188 kB / 1.343 GB, free: 13.61 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.595e-05/1.141, allocations: 16.84 kB / 1.343 GB, free: 13.59 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/1.141, allocations: 0 / 1.343 GB, free: 13.59 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.507e-05/1.141, allocations: 32.22 kB / 1.343 GB, free: 13.56 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/1.141, allocations: 16.47 kB / 1.343 GB, free: 13.55 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/1.141, allocations: 0 / 1.343 GB, free: 13.55 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/1.141, allocations: 0 / 1.343 GB, free: 13.55 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.33e-05/1.141, allocations: 1.969 kB / 1.343 GB, free: 13.55 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/1.141, allocations: 1.25 kB / 1.343 GB, free: 13.55 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.223e-05/1.141, allocations: 4.797 kB / 1.343 GB, free: 13.55 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/1.141, allocations: 1.188 kB / 1.343 GB, free: 13.55 MB / 1.061 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 4.541e-05/1.141, allocations: 115.7 kB / 1.343 GB, free: 13.43 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.141e-06/1.141, allocations: 3.938 kB / 1.343 GB, free: 13.42 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.013e-05/1.141, allocations: 39.59 kB / 1.343 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/1.141, allocations: 0.7969 kB / 1.343 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/1.141, allocations: 1.25 kB / 1.343 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/1.141, allocations: 0 / 1.343 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.218e-05/1.141, allocations: 152.7 kB / 1.344 GB, free: 13.19 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/1.141, allocations: 0 / 1.344 GB, free: 13.19 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.227e-05/1.141, allocations: 2.812 kB / 1.344 GB, free: 13.19 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/1.141, allocations: 11.91 kB / 1.344 GB, free: 13.18 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/1.141, allocations: 1.062 kB / 1.344 GB, free: 13.18 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/1.141, allocations: 0.7969 kB / 1.344 GB, free: 13.18 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/1.141, allocations: 0 / 1.344 GB, free: 13.18 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.468e-05/1.141, allocations: 54 kB / 1.344 GB, free: 13.11 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.726e-05/1.141, allocations: 77.91 kB / 1.344 GB, free: 13.02 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.145e-05/1.141, allocations: 4.969 kB / 1.344 GB, free: 13.02 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.805e-06/1.141, allocations: 4.641 kB / 1.344 GB, free: 13.01 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.954e-05/1.141, allocations: 4.938 kB / 1.344 GB, free: 13.01 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-06/1.142, allocations: 1.188 kB / 1.344 GB, free: 13.01 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.599e-05/1.142, allocations: 75.28 kB / 1.344 GB, free: 12.93 MB / 1.061 GB Notification: Performance of sort global known variables: time 4e-08/1.142, allocations: 1.281 kB / 1.344 GB, free: 12.93 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002485/1.142, allocations: 26.22 kB / 1.344 GB, free: 12.93 MB / 1.061 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.0003872/1.142, allocations: 0.6317 MB / 1.344 GB, free: 12.32 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.075e-05/1.142, allocations: 7.922 kB / 1.344 GB, free: 12.32 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/1.142, allocations: 3.938 kB / 1.344 GB, free: 12.31 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.795e-06/1.142, allocations: 2.906 kB / 1.344 GB, free: 12.31 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000128/1.142, allocations: 5.953 kB / 1.344 GB, free: 12.31 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003021/1.143, allocations: 129.3 kB / 1.345 GB, free: 12.16 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001306/1.143, allocations: 0.6714 MB / 1.345 GB, free: 11.46 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.193e-05/1.143, allocations: 0.5625 kB / 1.345 GB, free: 11.46 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.458e-05/1.143, allocations: 8.75 kB / 1.345 GB, free: 11.46 MB / 1.061 GB Notification: Performance of SimCode: time 2.71e-07/1.143, allocations: 0 / 1.345 GB, free: 11.46 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01844/1.161, allocations: 1.46 MB / 1.347 GB, free: 11.06 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.19/9.351, allocations: 9.812 kB / 1.347 GB, free: 11.06 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --stepSize=0.01196 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselY1.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.423607966979034]