Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.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.0008789/0.0008789, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008692/0.0008692, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8891/0.8891, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.691/1.691, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.BesselY1,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY1,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.9506 GB, free: 3.445 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.179e-05/2.338e-05, allocations: 2.281 kB / 0.9506 GB, free: 3.441 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY1): time 0.001279/0.001302, allocations: 0.5908 MB / 0.9511 GB, free: 2.848 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0004758/0.001778, allocations: 263 kB / 0.9514 GB, free: 2.59 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.225e-05/0.00179, allocations: 3.938 kB / 0.9514 GB, free: 2.586 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.389e-05/0.001804, allocations: 0 / 0.9514 GB, free: 2.586 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.261e-06/0.00181, allocations: 4 kB / 0.9514 GB, free: 2.582 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004143/0.002225, allocations: 99.59 kB / 0.9515 GB, free: 2.484 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 4.375e-05/0.002269, allocations: 4 kB / 0.9515 GB, free: 2.48 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.919e-05/0.002308, allocations: 3.984 kB / 0.9515 GB, free: 2.477 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 2.532e-05/0.002333, allocations: 0 / 0.9515 GB, free: 2.477 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 2.341e-05/0.002357, allocations: 3.984 kB / 0.9515 GB, free: 2.473 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 9.087e-06/0.002366, allocations: 0 / 0.9515 GB, free: 2.473 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001963/0.002562, allocations: 127.7 kB / 0.9516 GB, free: 2.348 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.251e-05/0.002574, allocations: 0 / 0.9516 GB, free: 2.348 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.607e-05/0.00259, allocations: 7.984 kB / 0.9516 GB, free: 2.34 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.002738, allocations: 87.8 kB / 0.9517 GB, free: 2.254 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.002741, allocations: 4 kB / 0.9517 GB, free: 2.25 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.182e-06/0.002742, allocations: 0 / 0.9517 GB, free: 2.25 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.002746, allocations: 3.938 kB / 0.9517 GB, free: 2.246 MB / 0.9011 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.0004749/0.003221, allocations: 242.4 kB / 0.9519 GB, free: 1.977 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.003259, allocations: 12.03 kB / 0.952 GB, free: 1.965 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.798e-05/0.003287, allocations: 34.73 kB / 0.952 GB, free: 1.922 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.103e-05/0.003308, allocations: 0.9375 kB / 0.952 GB, free: 1.922 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.25e-05/0.003361, allocations: 109.7 kB / 0.9521 GB, free: 1.789 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.815e-06/0.003368, allocations: 384 / 0.9521 GB, free: 1.789 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.474e-06/0.003376, allocations: 4.375 kB / 0.9521 GB, free: 1.785 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.419e-05/0.00345, allocations: 34.27 kB / 0.9521 GB, free: 1.746 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.003456, allocations: 192 / 0.9521 GB, free: 1.746 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.003463, allocations: 384 / 0.9521 GB, free: 1.746 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.003469, allocations: 4.125 kB / 0.9521 GB, free: 1.742 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.598e-05/0.003485, allocations: 0 / 0.9521 GB, free: 1.742 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.805e-05/0.003583, allocations: 124.7 kB / 0.9523 GB, free: 1.578 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 3.472e-05/0.003617, allocations: 18.52 kB / 0.9523 GB, free: 1.551 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.388e-05/0.003631, allocations: 12.95 kB / 0.9523 GB, free: 1.535 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000431/0.004062, allocations: 83.91 kB / 0.9524 GB, free: 1.453 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.004083, allocations: 42.56 kB / 0.9524 GB, free: 1.402 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.004085, allocations: 3.938 kB / 0.9524 GB, free: 1.398 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0001142/0.004199, allocations: 29.7 kB / 0.9524 GB, free: 1.363 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.004227, allocations: 55.34 kB / 0.9525 GB, free: 1.297 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.474e-05/0.004252, allocations: 93.98 kB / 0.9526 GB, free: 1.195 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.004262, allocations: 29.69 kB / 0.9526 GB, free: 1.16 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 1.716e-05/0.004279, allocations: 80.14 kB / 0.9527 GB, free: 1.078 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.349e-05/0.004303, allocations: 3.938 kB / 0.9527 GB, free: 1.074 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.491e-05/0.004328, allocations: 17.72 kB / 0.9527 GB, free: 1.051 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.544e-05/0.004403, allocations: 310.8 kB / 0.953 GB, free: 0.7383 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.558e-06/0.004413, allocations: 0 / 0.953 GB, free: 0.7383 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.041e-06/0.004419, allocations: 4 kB / 0.953 GB, free: 0.7344 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.048e-05/0.004439, allocations: 4.859 kB / 0.953 GB, free: 0.7266 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.004442, allocations: 4.062 kB / 0.953 GB, free: 0.7227 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.887e-05/0.004481, allocations: 37.69 kB / 0.9531 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.004492, allocations: 4 kB / 0.9531 GB, free: 0.6758 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.004498, allocations: 0 / 0.9531 GB, free: 0.6758 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.004509, allocations: 0 / 0.9531 GB, free: 0.6758 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.982e-05/0.004549, allocations: 4 kB / 0.9531 GB, free: 0.6719 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.004554, allocations: 7.875 kB / 0.9531 GB, free: 0.6641 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.354e-06/0.004562, allocations: 0 / 0.9531 GB, free: 0.6641 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.004567, allocations: 0 / 0.9531 GB, free: 0.6641 MB / 0.9011 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.352e-05/0.00462, allocations: 117.8 kB / 0.9532 GB, free: 0.5391 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.765e-06/0.004623, allocations: 4.031 kB / 0.9532 GB, free: 0.5352 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.046e-05/0.004683, allocations: 36.69 kB / 0.9532 GB, free: 0.4961 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.004685, allocations: 3.938 kB / 0.9532 GB, free: 0.4922 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.004691, allocations: 3.938 kB / 0.9532 GB, free: 500 kB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.004694, allocations: 0 / 0.9532 GB, free: 500 kB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.754e-05/0.004751, allocations: 116.8 kB / 0.9533 GB, free: 340 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.004752, allocations: 0 / 0.9533 GB, free: 340 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.305e-06/0.004761, allocations: 4 kB / 0.9533 GB, free: 336 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.004762, allocations: 0 / 0.9533 GB, free: 336 kB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.004768, allocations: 3.984 kB / 0.9533 GB, free: 332 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.004769, allocations: 0 / 0.9533 GB, free: 332 kB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.00477, allocations: 7.969 kB / 0.9534 GB, free: 324 kB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.155e-05/0.004812, allocations: 57.08 kB / 0.9534 GB, free: 248 kB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 3.908e-06/0.004816, allocations: 0 / 0.9534 GB, free: 248 kB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.195e-06/0.004824, allocations: 7.938 kB / 0.9534 GB, free: 240 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.547e-06/0.004828, allocations: 0 / 0.9534 GB, free: 240 kB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.842e-05/0.004846, allocations: 11.91 kB / 0.9534 GB, free: 228 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.004849, allocations: 4 kB / 0.9534 GB, free: 224 kB / 0.9011 GB Notification: Performance of sorting global known variables: time 2.075e-05/0.00487, allocations: 75.28 kB / 0.9535 GB, free: 148 kB / 0.9011 GB Notification: Performance of sort global known variables: time 4e-08/0.00487, allocations: 0 / 0.9535 GB, free: 148 kB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001548/0.005025, allocations: 27.94 kB / 0.9535 GB, free: 120 kB / 0.9011 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.0003653/0.00539, allocations: 0.6358 MB / 0.9542 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 5.893e-05/0.005449, allocations: 12 kB / 0.9542 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.00545, allocations: 4.094 kB / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.106e-06/0.005453, allocations: 0 / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.965e-05/0.005553, allocations: 7.938 kB / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002416/0.005795, allocations: 119 kB / 0.9543 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.697e-05/0.005832, allocations: 51.36 kB / 0.9543 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.096e-05/0.005843, allocations: 4 kB / 0.9543 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.503e-05/0.005858, allocations: 8.5 kB / 0.9543 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of SimCode: time 6.32e-07/0.005858, allocations: 0 / 0.9543 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01626/0.02212, allocations: 2.063 MB / 0.9564 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.959/6.981, allocations: 2.062 kB / 0.9564 GB, free: 13.25 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY1.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.csv --start-time 0.1 --stop-time 30 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01196 Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselY1.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_BesselY1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.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: 11.162676609121263]