Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.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.001353/0.001353, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001518/0.001518, allocations: 213.6 kB / 22.25 MB, free: 5.262 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.622/1.622, allocations: 230.6 MB / 256 MB, free: 7.777 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.295/3.295, allocations: 0.4892 GB / 0.7944 GB, free: 35.52 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.BesselY1,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY1,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_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.003268/0.003268, allocations: 66.75 kB / 1.153 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.455/0.4583, allocations: 176.1 MB / 1.325 GB, free: 2.383 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.003614/0.4619, allocations: 1.455 MB / 1.326 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0008826/0.4628, allocations: 323 kB / 1.327 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.726e-05/0.4628, allocations: 4 kB / 1.327 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.186e-05/0.4628, allocations: 3.938 kB / 1.327 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.003e-05/0.4629, allocations: 3.938 kB / 1.327 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006433/0.4635, allocations: 111.7 kB / 1.327 GB, free: 496 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.4637, allocations: 23.86 kB / 1.327 GB, free: 472 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.4638, allocations: 7.984 kB / 1.327 GB, free: 464 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.661e-05/0.4638, allocations: 7.984 kB / 1.327 GB, free: 456 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.488e-05/0.4638, allocations: 11.94 kB / 1.327 GB, free: 444 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.037e-05/0.4639, allocations: 0 / 1.327 GB, free: 444 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002818/0.4641, allocations: 127.8 kB / 1.327 GB, free: 316 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.218e-05/0.4642, allocations: 4 kB / 1.327 GB, free: 312 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.704e-05/0.4642, allocations: 15.86 kB / 1.327 GB, free: 296 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002443/0.4644, allocations: 84.03 kB / 1.327 GB, free: 212 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.4644, allocations: 4 kB / 1.327 GB, free: 208 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4644, allocations: 0 / 1.327 GB, free: 208 kB / 1.014 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.4644, allocations: 0 / 1.327 GB, free: 208 kB / 1.014 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.0005257/0.465, allocations: 278.2 kB / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.465, allocations: 15.97 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.839e-05/0.4651, allocations: 34.75 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.786e-05/0.4651, allocations: 4.922 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.4652, allocations: 114.4 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.4652, allocations: 384 / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.4652, allocations: 384 / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000191/0.4654, allocations: 58.17 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.4654, allocations: 3.938 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.4654, allocations: 0 / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.4654, allocations: 0 / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001603/0.4656, allocations: 31.97 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003528/0.466, allocations: 212.1 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.4661, allocations: 42.44 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.514e-05/0.4662, allocations: 32.89 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006301/0.4668, allocations: 83.91 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.4669, allocations: 34.56 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.4669, allocations: 0 / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003534/0.4672, allocations: 77.64 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.4673, allocations: 51.41 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.756e-05/0.4674, allocations: 105.8 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.4674, allocations: 29.64 kB / 1.328 GB, free: 14.85 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.458e-05/0.4674, allocations: 92.11 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.4675, allocations: 4.078 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.321e-05/0.4675, allocations: 17.72 kB / 1.328 GB, free: 14.73 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.4676, allocations: 310.8 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.384e-05/0.4677, allocations: 19.98 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.115e-05/0.4678, allocations: 15.97 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.4679, allocations: 40.83 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.4679, allocations: 3.938 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002113/0.4682, allocations: 69.72 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.4682, allocations: 8 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.4682, allocations: 0 / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.4682, allocations: 0 / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.096e-05/0.4683, allocations: 19.86 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.4683, allocations: 0 / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.406e-05/0.4683, allocations: 4 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.339e-06/0.4683, allocations: 0 / 1.329 GB, free: 14.23 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 9.277e-05/0.4684, allocations: 114.3 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/0.4684, allocations: 11.94 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002278/0.4687, allocations: 68.97 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.4687, allocations: 0 / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.4687, allocations: 0 / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.4687, allocations: 3.938 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.4689, allocations: 132.7 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4689, allocations: 0 / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.119e-05/0.4689, allocations: 8.031 kB / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.4689, allocations: 3.984 kB / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.4689, allocations: 3.938 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.4689, allocations: 4 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.4689, allocations: 0 / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002465/0.4692, allocations: 163.5 kB / 1.329 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.013e-06/0.4692, allocations: 0 / 1.329 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.4692, allocations: 0 / 1.329 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.478e-05/0.4693, allocations: 8.031 kB / 1.329 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/0.4693, allocations: 7.984 kB / 1.329 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.4693, allocations: 0 / 1.329 GB, free: 13.63 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.3e-05/0.4694, allocations: 83.28 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4694, allocations: 0 / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002543/0.4696, allocations: 35.86 kB / 1.33 GB, free: 13.51 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.0007107/0.4703, allocations: 0.7318 MB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002062/0.4705, allocations: 31.97 kB / 1.33 GB, free: 12.72 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4705, allocations: 0 / 1.33 GB, free: 12.72 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.669e-05/0.4706, allocations: 28.03 kB / 1.33 GB, free: 12.69 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.4709, allocations: 1.875 kB / 1.33 GB, free: 12.69 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004448/0.4713, allocations: 155 kB / 1.33 GB, free: 12.5 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.625e-05/0.4714, allocations: 67.28 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.424e-05/0.4714, allocations: 4 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.406e-05/0.4714, allocations: 11.44 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4714, allocations: 0 / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03363/0.5051, allocations: 2.323 MB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.64, allocations: 4.062 kB / 1.333 GB, free: 10.2 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.BesselY1_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --stepSize=0.01196 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Examples_BesselY1.fmu > Buildings_12_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.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: 18.794639532919973]