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.001767/0.001767, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001629/0.001629, allocations: 218.7 kB / 22.26 MB, free: 5.074 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.368/1.368, allocations: 230.6 MB / 256 MB, free: 8.02 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 2.827/2.827, allocations: 0.49 GB / 0.7951 GB, free: 33.41 MB / 0.6231 GB " [Timeout remaining time 177] 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.002079/0.002079, allocations: 62.53 kB / 1.154 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.3697, allocations: 176.1 MB / 1.326 GB, free: 1.906 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.003178/0.3729, allocations: 1.47 MB / 1.327 GB, free: 444 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0008122/0.3737, allocations: 346.8 kB / 1.328 GB, free: 96 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.364e-05/0.3738, allocations: 0 / 1.328 GB, free: 96 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.582e-05/0.3738, allocations: 0 / 1.328 GB, free: 96 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.633e-05/0.3738, allocations: 3.938 kB / 1.328 GB, free: 92 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005224/0.3744, allocations: 99.75 kB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.782e-05/0.3744, allocations: 19.94 kB / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.813e-05/0.3745, allocations: 11.94 kB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.97e-05/0.3746, allocations: 11.94 kB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.305e-05/0.3746, allocations: 7.984 kB / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.044e-05/0.3746, allocations: 8 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002545/0.3749, allocations: 123.8 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.291e-05/0.3749, allocations: 4 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.752e-05/0.3749, allocations: 11.92 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002081/0.3751, allocations: 91.95 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3751, allocations: 4 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.873e-06/0.3751, allocations: 0 / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.3752, allocations: 0 / 1.328 GB, free: 15.7 MB / 1.029 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.0005435/0.3757, allocations: 274.2 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.3757, allocations: 12.03 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.367e-05/0.3758, allocations: 34.69 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.426e-05/0.3758, allocations: 0.9375 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.3759, allocations: 114.5 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.955e-06/0.3759, allocations: 384 / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.376, allocations: 8.359 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.3761, allocations: 46.19 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.3761, allocations: 7.875 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.864e-06/0.3761, allocations: 4 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3761, allocations: 4 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001654/0.3763, allocations: 31.95 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003498/0.3767, allocations: 220 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.3768, allocations: 42.53 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.957e-05/0.3769, allocations: 28.84 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005323/0.3774, allocations: 75.92 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.873e-05/0.3775, allocations: 34.55 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.123e-06/0.3775, allocations: 4 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003708/0.3778, allocations: 77.66 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.3779, allocations: 51.41 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.668e-05/0.378, allocations: 105.8 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.378, allocations: 25.7 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.31e-05/0.378, allocations: 84.14 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.722e-05/0.378, allocations: 8.078 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.532e-05/0.3781, allocations: 17.7 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.3782, allocations: 318.8 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.202e-05/0.3783, allocations: 11.98 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.812e-05/0.3784, allocations: 15.98 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.3785, allocations: 44.88 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.3785, allocations: 3.938 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000184/0.3787, allocations: 61.67 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3787, allocations: 4 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/0.3787, allocations: 3.984 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.3788, allocations: 0 / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.653e-05/0.3788, allocations: 8 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.3789, allocations: 3.938 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.844e-05/0.3789, allocations: 12.02 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.3789, allocations: 0 / 1.33 GB, free: 13.74 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 0.0001083/0.379, allocations: 118.2 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.76e-05/0.379, allocations: 7.953 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002325/0.3793, allocations: 68.97 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.3793, allocations: 0 / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.3793, allocations: 8.016 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.3793, allocations: 4 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.3795, allocations: 128.7 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.3795, allocations: 0 / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.962e-05/0.3795, allocations: 7.984 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3795, allocations: 0 / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.3795, allocations: 4 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.3795, allocations: 4 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3795, allocations: 7.875 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002444/0.3798, allocations: 163.5 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.015e-06/0.3798, allocations: 4 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.3798, allocations: 0 / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.546e-05/0.3799, allocations: 7.984 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.568e-05/0.3799, allocations: 0 / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.3799, allocations: 4 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.287e-05/0.38, allocations: 79.31 kB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.38, allocations: 4 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002641/0.3802, allocations: 31.92 kB / 1.33 GB, free: 13.02 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.0006991/0.3809, allocations: 0.7395 MB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002156/0.3811, allocations: 31.97 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3811, allocations: 4.062 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.879e-05/0.3812, allocations: 19.97 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.3814, allocations: 9.547 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004448/0.3819, allocations: 147 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.3822, allocations: 0.6768 MB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.043e-05/0.3822, allocations: 4 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.331e-05/0.3823, allocations: 11.5 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.3823, allocations: 0 / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03993/0.4222, allocations: 1.87 MB / 1.334 GB, free: 9.551 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.97, allocations: 2.062 kB / 1.334 GB, free: 9.551 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.306882854085416]