Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002004/0.002004, 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.002208/0.002208, allocations: 217 kB / 22.25 MB, free: 5.082 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.513/1.513, allocations: 230.6 MB / 256 MB, free: 8.008 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.357/3.357, allocations: 0.505 GB / 0.8101 GB, free: 22.02 MB / 0.6231 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.Examples.BesselY1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY1,fileNamePrefix="Buildings_latest_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.002085/0.002085, allocations: 63.52 kB / 1.177 GB, free: 16.96 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3982/0.4003, allocations: 180.2 MB / 1.353 GB, free: 8.438 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.004672/0.405, allocations: 1.468 MB / 1.354 GB, free: 6.961 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001183/0.4061, allocations: 350.8 kB / 1.355 GB, free: 6.617 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.53e-05/0.4062, allocations: 4 kB / 1.355 GB, free: 6.613 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.934e-05/0.4062, allocations: 0 / 1.355 GB, free: 6.613 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.592e-05/0.4063, allocations: 7.938 kB / 1.355 GB, free: 6.605 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008347/0.4071, allocations: 107.7 kB / 1.355 GB, free: 6.5 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.4073, allocations: 27.92 kB / 1.355 GB, free: 6.473 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.4074, allocations: 0 / 1.355 GB, free: 6.473 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.816e-05/0.4074, allocations: 19.91 kB / 1.355 GB, free: 6.453 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.314e-05/0.4075, allocations: 8 kB / 1.355 GB, free: 6.445 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.4075, allocations: 0 / 1.355 GB, free: 6.445 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004093/0.4079, allocations: 131.7 kB / 1.355 GB, free: 6.316 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.188e-05/0.4079, allocations: 11.92 kB / 1.355 GB, free: 6.305 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.139e-05/0.408, allocations: 8 kB / 1.355 GB, free: 6.297 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003071/0.4083, allocations: 95.91 kB / 1.355 GB, free: 6.203 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.4083, allocations: 0 / 1.355 GB, free: 6.203 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.114e-06/0.4083, allocations: 3.938 kB / 1.355 GB, free: 6.199 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.4083, allocations: 0 / 1.355 GB, free: 6.199 MB / 1.045 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.0006558/0.4089, allocations: 278.2 kB / 1.355 GB, free: 5.895 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.904e-05/0.409, allocations: 8.031 kB / 1.355 GB, free: 5.887 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.266e-05/0.4091, allocations: 34.75 kB / 1.355 GB, free: 5.844 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.28e-05/0.4091, allocations: 0.9375 kB / 1.355 GB, free: 5.844 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.4092, allocations: 110.4 kB / 1.355 GB, free: 5.711 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.4093, allocations: 12.38 kB / 1.355 GB, free: 5.699 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.4093, allocations: 384 / 1.355 GB, free: 5.699 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000282/0.4096, allocations: 54.17 kB / 1.356 GB, free: 5.641 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.4096, allocations: 3.938 kB / 1.356 GB, free: 5.637 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.4096, allocations: 0 / 1.356 GB, free: 5.637 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.4096, allocations: 3.984 kB / 1.356 GB, free: 5.633 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003718/0.41, allocations: 39.89 kB / 1.356 GB, free: 5.594 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006344/0.4106, allocations: 216.1 kB / 1.356 GB, free: 5.34 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.4108, allocations: 38.5 kB / 1.356 GB, free: 5.293 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001258/0.4109, allocations: 20.89 kB / 1.356 GB, free: 5.27 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000941/0.4119, allocations: 87.91 kB / 1.356 GB, free: 5.184 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.815e-05/0.4119, allocations: 38.56 kB / 1.356 GB, free: 5.137 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.4119, allocations: 0 / 1.356 GB, free: 5.137 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0005337/0.4125, allocations: 81.58 kB / 1.356 GB, free: 5.051 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.194e-05/0.4125, allocations: 55.41 kB / 1.356 GB, free: 4.984 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.4126, allocations: 97.86 kB / 1.356 GB, free: 4.879 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.4127, allocations: 25.7 kB / 1.356 GB, free: 4.848 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.708e-05/0.4128, allocations: 88.11 kB / 1.356 GB, free: 4.758 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.153e-05/0.4128, allocations: 7.953 kB / 1.356 GB, free: 4.75 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.391e-05/0.4128, allocations: 13.72 kB / 1.356 GB, free: 4.73 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002404/0.4131, allocations: 315 kB / 1.357 GB, free: 4.414 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.4132, allocations: 19.98 kB / 1.357 GB, free: 4.395 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.4133, allocations: 15.97 kB / 1.357 GB, free: 4.379 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002355/0.4136, allocations: 40.77 kB / 1.357 GB, free: 4.336 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.4136, allocations: 3.938 kB / 1.357 GB, free: 4.332 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000278/0.4138, allocations: 73.67 kB / 1.357 GB, free: 4.254 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.808e-05/0.4139, allocations: 8 kB / 1.357 GB, free: 4.246 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.4139, allocations: 0 / 1.357 GB, free: 4.246 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.409e-05/0.4139, allocations: 0 / 1.357 GB, free: 4.246 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.414, allocations: 7.984 kB / 1.357 GB, free: 4.238 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.414, allocations: 0 / 1.357 GB, free: 4.238 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.158e-05/0.4141, allocations: 4 kB / 1.357 GB, free: 4.234 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.4141, allocations: 8.031 kB / 1.357 GB, free: 4.227 MB / 1.045 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.0001455/0.4142, allocations: 118.4 kB / 1.357 GB, free: 4.102 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.849e-05/0.4143, allocations: 0 / 1.357 GB, free: 4.102 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003175/0.4146, allocations: 80.84 kB / 1.357 GB, free: 4.02 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.4146, allocations: 0 / 1.357 GB, free: 4.02 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/0.4146, allocations: 4 kB / 1.357 GB, free: 4.016 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.4146, allocations: 3.938 kB / 1.357 GB, free: 4.012 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002861/0.4149, allocations: 132.7 kB / 1.357 GB, free: 3.84 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.4149, allocations: 0 / 1.357 GB, free: 3.84 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.231e-05/0.415, allocations: 11.98 kB / 1.357 GB, free: 3.828 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.415, allocations: 0 / 1.357 GB, free: 3.828 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.415, allocations: 0 / 1.357 GB, free: 3.828 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.415, allocations: 0 / 1.357 GB, free: 3.828 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.415, allocations: 0 / 1.357 GB, free: 3.828 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004118/0.4154, allocations: 171.4 kB / 1.357 GB, free: 3.645 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.543e-05/0.4154, allocations: 7.953 kB / 1.357 GB, free: 3.637 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.4154, allocations: 3.984 kB / 1.357 GB, free: 3.633 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.4156, allocations: 4 kB / 1.357 GB, free: 3.629 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.895e-05/0.4156, allocations: 0 / 1.357 GB, free: 3.629 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.4156, allocations: 3.984 kB / 1.357 GB, free: 3.625 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.85e-05/0.4157, allocations: 83.28 kB / 1.357 GB, free: 3.543 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4157, allocations: 0 / 1.357 GB, free: 3.543 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004313/0.4161, allocations: 31.91 kB / 1.357 GB, free: 3.512 MB / 1.045 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.001169/0.4173, allocations: 0.728 MB / 1.358 GB, free: 2.754 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003428/0.4176, allocations: 39.89 kB / 1.358 GB, free: 2.715 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.4176, allocations: 0 / 1.358 GB, free: 2.715 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.4178, allocations: 24.05 kB / 1.358 GB, free: 2.691 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.4181, allocations: 0 / 1.358 GB, free: 2.691 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007784/0.4189, allocations: 151 kB / 1.358 GB, free: 2.504 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004799/0.4194, allocations: 0.6768 MB / 1.359 GB, free: 1.801 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.907e-05/0.4194, allocations: 336 / 1.359 GB, free: 1.801 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.4195, allocations: 11.44 kB / 1.359 GB, free: 1.789 MB / 1.045 GB Notification: Performance of SimCode: time 4.61e-07/0.4195, allocations: 4 kB / 1.359 GB, free: 1.785 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04117/0.4607, allocations: 1.89 MB / 1.361 GB, free: 20 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.51, allocations: 2.062 kB / 1.361 GB, free: 20 kB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --stepSize=0.01196 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_BesselY1.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.516020345967263]