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.001696/0.001696, allocations: 109.5 kB / 19.73 MB, free: 2.238 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.002547/0.002547, allocations: 220 kB / 23.04 MB, free: 5.078 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.567/1.567, allocations: 230.6 MB / 256.8 MB, free: 8.051 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.305/3.305, allocations: 0.49 GB / 0.7959 GB, free: 33.28 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY0,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_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.001999/0.001999, allocations: 72.55 kB / 1.155 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4061/0.4081, allocations: 176.1 MB / 1.327 GB, free: 2.016 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.003143/0.4112, allocations: 1.455 MB / 1.328 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0007707/0.412, allocations: 342.8 kB / 1.328 GB, free: 224 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.537e-05/0.412, allocations: 4 kB / 1.328 GB, free: 220 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.177e-05/0.4121, allocations: 7.922 kB / 1.328 GB, free: 212 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.82e-05/0.4121, allocations: 3.938 kB / 1.328 GB, free: 208 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004837/0.4126, allocations: 99.72 kB / 1.329 GB, free: 108 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.259e-05/0.4127, allocations: 23.92 kB / 1.329 GB, free: 84 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.4128, allocations: 11.98 kB / 1.329 GB, free: 72 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.86e-05/0.4128, allocations: 15.92 kB / 1.329 GB, free: 56 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.007e-05/0.4129, allocations: 0 / 1.329 GB, free: 56 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.888e-06/0.4129, allocations: 4 kB / 1.329 GB, free: 52 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002574/0.4131, allocations: 127.8 kB / 1.329 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.651e-05/0.4131, allocations: 11.94 kB / 1.329 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.249e-05/0.4132, allocations: 0 / 1.329 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002075/0.4134, allocations: 91.91 kB / 1.329 GB, free: 15.82 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.4134, allocations: 4 kB / 1.329 GB, free: 15.82 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4134, allocations: 0 / 1.329 GB, free: 15.82 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.4134, allocations: 0 / 1.329 GB, free: 15.82 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.0005201/0.4139, allocations: 275.9 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.414, allocations: 8.031 kB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.629e-05/0.414, allocations: 12.17 kB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.185e-05/0.414, allocations: 30.75 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.931e-05/0.414, allocations: 4.938 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.4142, allocations: 110.4 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.4142, allocations: 384 / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.398e-05/0.4142, allocations: 8.359 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.4144, allocations: 57.92 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.4144, allocations: 0 / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.4144, allocations: 0 / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.4144, allocations: 4 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001742/0.4146, allocations: 39.95 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003621/0.415, allocations: 220 kB / 1.33 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.4151, allocations: 38.5 kB / 1.33 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.498e-05/0.4152, allocations: 28.89 kB / 1.33 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005675/0.4158, allocations: 75.92 kB / 1.33 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.4158, allocations: 30.56 kB / 1.33 GB, free: 14.76 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.113e-06/0.4158, allocations: 0 / 1.33 GB, free: 14.76 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003863/0.4162, allocations: 85.64 kB / 1.33 GB, free: 14.67 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.4162, allocations: 51.41 kB / 1.33 GB, free: 14.61 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.985e-05/0.4163, allocations: 97.84 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.4163, allocations: 29.7 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.299e-05/0.4164, allocations: 88.08 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.4164, allocations: 8.062 kB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.253e-05/0.4165, allocations: 17.72 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.4166, allocations: 314.8 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.335e-05/0.4167, allocations: 19.91 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.316e-05/0.4168, allocations: 15.98 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.4169, allocations: 44.83 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.4169, allocations: 0 / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001938/0.4171, allocations: 65.66 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.4171, allocations: 4 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.4171, allocations: 0 / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.4172, allocations: 0 / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.878e-05/0.4172, allocations: 15.92 kB / 1.331 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.4173, allocations: 3.984 kB / 1.331 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.272e-05/0.4173, allocations: 8.031 kB / 1.331 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.4173, allocations: 3.984 kB / 1.331 GB, free: 13.84 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.0001009/0.4174, allocations: 118.3 kB / 1.331 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.4174, allocations: 3.953 kB / 1.331 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002343/0.4177, allocations: 68.91 kB / 1.331 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.4177, allocations: 0 / 1.331 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4177, allocations: 8.031 kB / 1.331 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.4177, allocations: 0 / 1.331 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001759/0.4179, allocations: 132.7 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.4179, allocations: 0 / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.689e-05/0.4179, allocations: 4 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.4179, allocations: 4 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.4179, allocations: 4 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.4179, allocations: 3.938 kB / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4179, allocations: 0 / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002524/0.4182, allocations: 163.5 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.448e-06/0.4182, allocations: 3.984 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.4182, allocations: 4 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.482e-05/0.4183, allocations: 8 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/0.4183, allocations: 7.984 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-06/0.4183, allocations: 192 / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.068e-05/0.4184, allocations: 87.3 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4184, allocations: 0 / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002706/0.4187, allocations: 27.94 kB / 1.331 GB, free: 13.13 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.0007441/0.4194, allocations: 0.7318 MB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002247/0.4196, allocations: 39.95 kB / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.4196, allocations: 8.062 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.918e-05/0.4197, allocations: 11.98 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.42, allocations: 10.61 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004844/0.4204, allocations: 166.2 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003537/0.4208, allocations: 0.6768 MB / 1.333 GB, free: 11.4 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.195e-05/0.4208, allocations: 0 / 1.333 GB, free: 11.4 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.011e-05/0.4209, allocations: 15.5 kB / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/0.4209, allocations: 0 / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02315/0.444, allocations: 1.876 MB / 1.335 GB, free: 9.648 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.75, allocations: 8.797 kB / 1.335 GB, free: 9.645 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.927347819961142]