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.001417/0.001417, 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.001927/0.001927, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9231/0.9231, 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.657/1.657, 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 2.194e-06/2.194e-06, allocations: 0 / 0.9505 GB, free: 3.449 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.956e-05/2.175e-05, allocations: 6.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.00125/0.001272, allocations: 0.5762 MB / 0.9511 GB, free: 2.859 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0005331/0.001805, allocations: 271 kB / 0.9514 GB, free: 2.594 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.471e-05/0.001819, allocations: 0 / 0.9514 GB, free: 2.594 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.71e-05/0.001836, allocations: 0 / 0.9514 GB, free: 2.594 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 8.627e-06/0.001845, allocations: 0 / 0.9514 GB, free: 2.594 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004623/0.002307, allocations: 103.6 kB / 0.9515 GB, free: 2.492 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 4.776e-05/0.002355, allocations: 0 / 0.9515 GB, free: 2.492 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.753e-05/0.002403, allocations: 4 kB / 0.9515 GB, free: 2.488 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 2.941e-05/0.002432, allocations: 4 kB / 0.9515 GB, free: 2.484 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 2.456e-05/0.002457, allocations: 3.984 kB / 0.9515 GB, free: 2.48 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.002468, allocations: 0 / 0.9515 GB, free: 2.48 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002242/0.002692, allocations: 123.7 kB / 0.9516 GB, free: 2.359 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.661e-05/0.002709, allocations: 4 kB / 0.9516 GB, free: 2.355 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.066e-05/0.002729, allocations: 3.984 kB / 0.9516 GB, free: 2.352 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.002895, allocations: 87.8 kB / 0.9517 GB, free: 2.266 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.002898, allocations: 0 / 0.9517 GB, free: 2.266 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.693e-06/0.0029, allocations: 0 / 0.9517 GB, free: 2.266 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.002907, allocations: 7.922 kB / 0.9517 GB, free: 2.258 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.0002828/0.003189, allocations: 246.4 kB / 0.9519 GB, free: 1.984 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.003242, allocations: 12.03 kB / 0.9519 GB, free: 1.973 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.608e-05/0.003278, allocations: 30.75 kB / 0.952 GB, free: 1.934 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.794e-05/0.003306, allocations: 0.9375 kB / 0.952 GB, free: 1.934 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.442e-05/0.003381, allocations: 117.7 kB / 0.9521 GB, free: 1.793 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.003393, allocations: 384 / 0.9521 GB, free: 1.793 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.904e-06/0.003401, allocations: 384 / 0.9521 GB, free: 1.793 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.666e-05/0.003497, allocations: 34.2 kB / 0.9521 GB, free: 1.754 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.003505, allocations: 4.188 kB / 0.9521 GB, free: 1.75 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.003514, allocations: 384 / 0.9521 GB, free: 1.75 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.00352, allocations: 4.125 kB / 0.9521 GB, free: 1.746 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.068e-05/0.003541, allocations: 0 / 0.9521 GB, free: 1.746 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001225/0.003663, allocations: 124.7 kB / 0.9523 GB, free: 1.582 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 4.268e-05/0.003706, allocations: 22.5 kB / 0.9523 GB, free: 1.551 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.78e-05/0.003724, allocations: 8.859 kB / 0.9523 GB, free: 1.539 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004888/0.004213, allocations: 88 kB / 0.9524 GB, free: 1.453 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.004237, allocations: 38.56 kB / 0.9524 GB, free: 1.406 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 1.302e-06/0.004239, allocations: 0 / 0.9524 GB, free: 1.406 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0001261/0.004365, allocations: 29.7 kB / 0.9524 GB, free: 1.371 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.004395, allocations: 59.34 kB / 0.9525 GB, free: 1.301 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.429e-05/0.004419, allocations: 89.86 kB / 0.9526 GB, free: 1.203 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.917e-06/0.004428, allocations: 25.7 kB / 0.9526 GB, free: 1.172 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 1.914e-05/0.004447, allocations: 84.08 kB / 0.9527 GB, free: 1.086 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.004472, allocations: 0 / 0.9527 GB, free: 1.086 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.237e-05/0.004495, allocations: 17.7 kB / 0.9527 GB, free: 1.062 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.589e-05/0.00457, allocations: 319 kB / 0.953 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.007e-06/0.004579, allocations: 0 / 0.953 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.22e-06/0.004585, allocations: 0 / 0.953 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.169e-05/0.004606, allocations: 8.859 kB / 0.953 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.004608, allocations: 0 / 0.953 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.668e-05/0.004645, allocations: 29.7 kB / 0.953 GB, free: 0.6953 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.004659, allocations: 8 kB / 0.953 GB, free: 0.6875 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.004664, allocations: 0 / 0.953 GB, free: 0.6875 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.004676, allocations: 3.984 kB / 0.953 GB, free: 0.6836 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.125e-05/0.004718, allocations: 8.031 kB / 0.9531 GB, free: 0.6758 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.004724, allocations: 3.938 kB / 0.9531 GB, free: 0.6719 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.005e-06/0.004732, allocations: 4 kB / 0.9531 GB, free: 0.668 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.004737, allocations: 0 / 0.9531 GB, free: 0.668 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 4.935e-05/0.004786, allocations: 113.8 kB / 0.9532 GB, free: 0.5469 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.847e-06/0.00479, allocations: 3.984 kB / 0.9532 GB, free: 0.543 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.372e-05/0.004854, allocations: 36.69 kB / 0.9532 GB, free: 0.5039 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.004856, allocations: 7.938 kB / 0.9532 GB, free: 0.4961 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.004861, allocations: 3.938 kB / 0.9532 GB, free: 0.4922 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.004864, allocations: 3.938 kB / 0.9532 GB, free: 500 kB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.577e-05/0.004919, allocations: 116.8 kB / 0.9533 GB, free: 340 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.62e-07/0.00492, allocations: 0 / 0.9533 GB, free: 340 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.869e-06/0.00493, allocations: 4 kB / 0.9533 GB, free: 336 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.165e-06/0.004932, allocations: 0 / 0.9533 GB, free: 336 kB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.004939, allocations: 4 kB / 0.9533 GB, free: 332 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.00494, allocations: 0 / 0.9533 GB, free: 332 kB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.004942, allocations: 3.938 kB / 0.9533 GB, free: 328 kB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.876e-05/0.00499, allocations: 61.06 kB / 0.9534 GB, free: 248 kB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 3.115e-06/0.004993, allocations: 0 / 0.9534 GB, free: 248 kB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.295e-06/0.005002, allocations: 0 / 0.9534 GB, free: 248 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.546e-06/0.005005, allocations: 4.031 kB / 0.9534 GB, free: 244 kB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.273e-05/0.005018, allocations: 7.938 kB / 0.9534 GB, free: 236 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.005022, allocations: 4 kB / 0.9534 GB, free: 232 kB / 0.9011 GB Notification: Performance of sorting global known variables: time 2.019e-05/0.005042, allocations: 79.27 kB / 0.9535 GB, free: 152 kB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.005042, allocations: 0 / 0.9535 GB, free: 152 kB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001528/0.005195, allocations: 23.94 kB / 0.9535 GB, free: 128 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.0003926/0.005587, allocations: 0.6358 MB / 0.9541 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 7.114e-05/0.005658, allocations: 12 kB / 0.9542 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.00566, allocations: 0 / 0.9542 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.938e-06/0.005664, allocations: 4 kB / 0.9542 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001124/0.005776, allocations: 6.906 kB / 0.9542 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002708/0.006047, allocations: 119 kB / 0.9543 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.759e-05/0.006085, allocations: 59.48 kB / 0.9543 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.075e-05/0.006095, allocations: 0 / 0.9543 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.809e-05/0.006113, allocations: 8.5 kB / 0.9543 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of SimCode: time 9.12e-07/0.006114, allocations: 0 / 0.9543 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01486/0.02097, allocations: 2.063 MB / 0.9564 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.99/7.011, allocations: 2.031 kB / 0.9564 GB, free: 13.26 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --stepSize=0.01196 --timeout=400 --tolerance=1e-06 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.mat","/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: 10.982210436835885]