Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.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.001807/0.001807, allocations: 116.1 kB / 17.17 MB, free: 6 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.002181/0.002181, allocations: 209.6 kB / 20.13 MB, free: 3.055 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.7/1.7, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.11/3.11, allocations: 0.49 GB / 0.7923 GB, free: 1.332 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.BesselY0,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_BesselY0",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_BesselY0",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.002115/0.002115, allocations: 75.89 kB / 1.15 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.08/1.082, allocations: 176.1 MB / 1.322 GB, free: 24.77 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001897/1.084, allocations: 0.59 MB / 1.322 GB, free: 24.4 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.000625/1.085, allocations: 289.1 kB / 1.322 GB, free: 24.21 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.443e-05/1.085, allocations: 0 / 1.322 GB, free: 24.21 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.441e-05/1.085, allocations: 0 / 1.322 GB, free: 24.21 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.552e-06/1.085, allocations: 0 / 1.322 GB, free: 24.21 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004948/1.085, allocations: 99 kB / 1.322 GB, free: 24.18 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.535e-05/1.085, allocations: 2.281 kB / 1.322 GB, free: 24.18 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.748e-05/1.085, allocations: 0 / 1.322 GB, free: 24.18 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.509e-05/1.085, allocations: 0 / 1.322 GB, free: 24.18 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 2.72e-05/1.085, allocations: 6.641 kB / 1.322 GB, free: 24.17 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.645e-06/1.085, allocations: 4 kB / 1.322 GB, free: 24.17 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002568/1.086, allocations: 122.5 kB / 1.323 GB, free: 24.13 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.659e-06/1.086, allocations: 0 / 1.323 GB, free: 24.13 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.102e-05/1.086, allocations: 3.984 kB / 1.323 GB, free: 24.12 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001712/1.086, allocations: 73.23 kB / 1.323 GB, free: 24.1 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/1.086, allocations: 0 / 1.323 GB, free: 24.1 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.974e-06/1.086, allocations: 0 / 1.323 GB, free: 24.1 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.991e-06/1.086, allocations: 2.594 kB / 1.323 GB, free: 24.1 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.000375/1.086, allocations: 323.3 kB / 1.323 GB, free: 23.75 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/1.086, allocations: 12.86 kB / 1.323 GB, free: 23.74 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.344e-05/1.086, allocations: 8.172 kB / 1.323 GB, free: 23.73 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.465e-05/1.086, allocations: 30.75 kB / 1.323 GB, free: 23.7 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.825e-05/1.086, allocations: 0.9375 kB / 1.323 GB, free: 23.7 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/1.086, allocations: 167.2 kB / 1.323 GB, free: 23.5 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/1.087, allocations: 384 / 1.323 GB, free: 23.5 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.808e-06/1.087, allocations: 384 / 1.323 GB, free: 23.5 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/1.087, allocations: 40.2 kB / 1.323 GB, free: 23.46 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/1.087, allocations: 0 / 1.323 GB, free: 23.46 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/1.087, allocations: 0 / 1.323 GB, free: 23.46 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/1.087, allocations: 7.938 kB / 1.323 GB, free: 23.45 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.276e-05/1.087, allocations: 0 / 1.323 GB, free: 23.45 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000153/1.087, allocations: 144.5 kB / 1.323 GB, free: 23.26 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.183e-05/1.087, allocations: 21.33 kB / 1.323 GB, free: 23.23 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.803e-05/1.087, allocations: 12.14 kB / 1.323 GB, free: 23.22 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000714/1.088, allocations: 454.4 kB / 1.324 GB, free: 22.75 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/1.088, allocations: 37.69 kB / 1.324 GB, free: 22.71 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/1.088, allocations: 0 / 1.324 GB, free: 22.71 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.000158/1.088, allocations: 35.08 kB / 1.324 GB, free: 22.67 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/1.088, allocations: 51.41 kB / 1.324 GB, free: 22.61 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.033e-05/1.088, allocations: 96.36 kB / 1.324 GB, free: 22.51 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/1.088, allocations: 29.83 kB / 1.324 GB, free: 22.47 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.289e-05/1.088, allocations: 80.14 kB / 1.324 GB, free: 22.39 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.379e-05/1.088, allocations: 7.891 kB / 1.324 GB, free: 22.38 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.592e-05/1.088, allocations: 12.56 kB / 1.324 GB, free: 22.37 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.95e-05/1.088, allocations: 314.2 kB / 1.324 GB, free: 22.05 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.055e-05/1.088, allocations: 7.938 kB / 1.324 GB, free: 22.05 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.452e-06/1.088, allocations: 2.75 kB / 1.324 GB, free: 22.05 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.751e-05/1.088, allocations: 11.77 kB / 1.324 GB, free: 22.04 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/1.088, allocations: 0 / 1.324 GB, free: 22.04 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.67e-05/1.088, allocations: 31.17 kB / 1.325 GB, free: 22 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/1.088, allocations: 9.219 kB / 1.325 GB, free: 22 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/1.088, allocations: 3.375 kB / 1.325 GB, free: 22 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/1.088, allocations: 0 / 1.325 GB, free: 22 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.227e-05/1.088, allocations: 6.719 kB / 1.325 GB, free: 22 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/1.088, allocations: 0 / 1.325 GB, free: 22 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.008e-05/1.088, allocations: 0 / 1.325 GB, free: 22 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/1.088, allocations: 0 / 1.325 GB, free: 22 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 5.715e-05/1.088, allocations: 112.6 kB / 1.325 GB, free: 21.88 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.965e-06/1.088, allocations: 7.938 kB / 1.325 GB, free: 21.87 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.326e-05/1.088, allocations: 34.56 kB / 1.325 GB, free: 21.84 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/1.088, allocations: 3.094 kB / 1.325 GB, free: 21.84 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/1.088, allocations: 4 kB / 1.325 GB, free: 21.83 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/1.088, allocations: 0 / 1.325 GB, free: 21.83 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.532e-05/1.088, allocations: 144.9 kB / 1.325 GB, free: 21.64 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/1.088, allocations: 0 / 1.325 GB, free: 21.64 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.133e-05/1.089, allocations: 2.781 kB / 1.325 GB, free: 21.64 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/1.089, allocations: 7.969 kB / 1.325 GB, free: 21.64 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/1.089, allocations: 0 / 1.325 GB, free: 21.64 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/1.089, allocations: 3.938 kB / 1.325 GB, free: 21.63 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/1.089, allocations: 2.719 kB / 1.325 GB, free: 21.63 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.977e-05/1.089, allocations: 57.81 kB / 1.325 GB, free: 21.57 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.38e-05/1.089, allocations: 81.05 kB / 1.325 GB, free: 21.47 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/1.089, allocations: 3.938 kB / 1.325 GB, free: 21.46 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.643e-06/1.089, allocations: 4.031 kB / 1.325 GB, free: 21.46 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.046e-05/1.089, allocations: 3.219 kB / 1.325 GB, free: 21.46 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/1.089, allocations: 0 / 1.325 GB, free: 21.46 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.885e-05/1.089, allocations: 75.28 kB / 1.325 GB, free: 21.39 MB / 1.061 GB Notification: Performance of sort global known variables: time 5e-08/1.089, allocations: 0 / 1.325 GB, free: 21.39 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002174/1.089, allocations: 28.91 kB / 1.325 GB, free: 21.38 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.0003829/1.089, allocations: 0.6456 MB / 1.326 GB, free: 20.76 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.016e-05/1.089, allocations: 5.469 kB / 1.326 GB, free: 20.76 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/1.089, allocations: 4.094 kB / 1.326 GB, free: 20.75 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 6.362e-06/1.089, allocations: 2.562 kB / 1.326 GB, free: 20.75 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000129/1.089, allocations: 2.188 kB / 1.326 GB, free: 20.75 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003056/1.09, allocations: 127.5 kB / 1.326 GB, free: 20.61 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001327/1.09, allocations: 0.6756 MB / 1.327 GB, free: 19.91 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.248e-05/1.09, allocations: 3.094 kB / 1.327 GB, free: 19.91 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.61e-05/1.09, allocations: 7.438 kB / 1.327 GB, free: 19.9 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/1.09, allocations: 0 / 1.327 GB, free: 19.9 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01759/1.108, allocations: 1.44 MB / 1.328 GB, free: 19.5 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.283/9.39, allocations: 5.797 kB / 1.328 GB, free: 19.5 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --stepSize=0.01196 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Functions_Examples_BesselY0.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.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: 16.451536137028597]