Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 225.6 MB / 249.3 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.502/2.502, allocations: 476.7 MB / 0.7628 GB, free: 15.11 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 67.89 kB / 1.107 GB, free: 5.09 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7588/0.7606, allocations: 168.7 MB / 1.271 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001398/0.762, allocations: 0.6005 MB / 1.272 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0004877/0.7625, allocations: 291.8 kB / 1.272 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.032e-05/0.7625, allocations: 0.6562 kB / 1.272 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.337e-05/0.7625, allocations: 0 / 1.272 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.04e-06/0.7625, allocations: 0 / 1.272 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003957/0.7629, allocations: 95.31 kB / 1.272 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 3.137e-05/0.763, allocations: 5.859 kB / 1.272 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.434e-05/0.763, allocations: 2.125 kB / 1.272 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.105e-05/0.763, allocations: 0 / 1.272 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.596e-05/0.763, allocations: 1.406 kB / 1.272 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.821e-06/0.763, allocations: 8.703 kB / 1.272 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002297/0.7632, allocations: 122.7 kB / 1.273 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.062e-06/0.7633, allocations: 0 / 1.273 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.245e-05/0.7633, allocations: 0.8438 kB / 1.273 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001487/0.7634, allocations: 72.8 kB / 1.273 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.7634, allocations: 0 / 1.273 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.984e-06/0.7634, allocations: 0.7188 kB / 1.273 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.7634, allocations: 0 / 1.273 GB, free: 7.043 MB / 0.9981 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.0001914/0.7636, allocations: 323.4 kB / 1.273 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.7636, allocations: 14.34 kB / 1.273 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.213e-05/0.7637, allocations: 30.75 kB / 1.273 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.709e-05/0.7637, allocations: 1.906 kB / 1.273 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.623e-05/0.7637, allocations: 165.5 kB / 1.273 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.7637, allocations: 1.312 kB / 1.273 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.39e-06/0.7637, allocations: 1.078 kB / 1.273 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.929e-05/0.7638, allocations: 37.34 kB / 1.273 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.331e-06/0.7638, allocations: 3.938 kB / 1.273 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.621e-06/0.7638, allocations: 0 / 1.273 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.7638, allocations: 0.8438 kB / 1.273 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.427e-05/0.7638, allocations: 9.719 kB / 1.273 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.678e-05/0.7639, allocations: 144.2 kB / 1.273 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 2.528e-05/0.764, allocations: 20.3 kB / 1.273 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.229e-05/0.764, allocations: 10.91 kB / 1.273 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000535/0.7645, allocations: 461.3 kB / 1.274 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.493e-05/0.7645, allocations: 31.86 kB / 1.274 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.7645, allocations: 0.8438 kB / 1.274 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 9.645e-05/0.7646, allocations: 43.09 kB / 1.274 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.259e-05/0.7646, allocations: 52.12 kB / 1.274 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.162e-05/0.7646, allocations: 90.47 kB / 1.274 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.148e-06/0.7646, allocations: 26.67 kB / 1.274 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.143e-06/0.7646, allocations: 84.14 kB / 1.274 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.167e-05/0.7647, allocations: 8.75 kB / 1.274 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.027e-05/0.7647, allocations: 12.16 kB / 1.274 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 2.876e-05/0.7647, allocations: 312.3 kB / 1.274 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.396e-06/0.7647, allocations: 5 kB / 1.274 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.511e-06/0.7647, allocations: 1.5 kB / 1.274 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.814e-05/0.7647, allocations: 8.406 kB / 1.274 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.7647, allocations: 4.875 kB / 1.274 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.827e-05/0.7648, allocations: 31.44 kB / 1.274 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.7648, allocations: 6.297 kB / 1.274 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.7648, allocations: 3.938 kB / 1.274 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.7648, allocations: 0.7812 kB / 1.274 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.153e-05/0.7648, allocations: 2.078 kB / 1.274 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.7648, allocations: 3.938 kB / 1.274 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.727e-06/0.7649, allocations: 1.406 kB / 1.274 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.7649, allocations: 0.8125 kB / 1.274 GB, free: 4.941 MB / 0.9981 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 2.966e-05/0.7649, allocations: 111.4 kB / 1.275 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.76e-06/0.7649, allocations: 0.7812 kB / 1.275 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.452e-05/0.765, allocations: 43.44 kB / 1.275 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.765, allocations: 0.75 kB / 1.275 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.765, allocations: 0.8438 kB / 1.275 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.765, allocations: 4.594 kB / 1.275 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.689e-05/0.765, allocations: 144 kB / 1.275 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.765, allocations: 0.7812 kB / 1.275 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.098e-05/0.765, allocations: 2.422 kB / 1.275 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.765, allocations: 4.031 kB / 1.275 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-06/0.765, allocations: 4.844 kB / 1.275 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.765, allocations: 0.5156 kB / 1.275 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.765, allocations: 0.8125 kB / 1.275 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.037e-05/0.7651, allocations: 60.95 kB / 1.275 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.229e-05/0.7651, allocations: 82.73 kB / 1.275 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.546e-06/0.7651, allocations: 8.719 kB / 1.275 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.254e-06/0.7651, allocations: 5.688 kB / 1.275 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.494e-06/0.7651, allocations: 0 / 1.275 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.7651, allocations: 1.578 kB / 1.275 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.056e-06/0.7651, allocations: 79.22 kB / 1.275 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5e-08/0.7651, allocations: 0 / 1.275 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002095/0.7653, allocations: 26.75 kB / 1.275 GB, free: 4.32 MB / 0.9981 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.0002881/0.7656, allocations: 0.637 MB / 1.276 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 5.502e-05/0.7657, allocations: 4.078 kB / 1.276 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.7657, allocations: 4.094 kB / 1.276 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.781e-06/0.7657, allocations: 2.375 kB / 1.276 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001104/0.7658, allocations: 2.047 kB / 1.276 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002211/0.766, allocations: 124.6 kB / 1.276 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001292/0.7661, allocations: 0.675 MB / 1.276 GB, free: 18.86 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.03e-05/0.7661, allocations: 5.375 kB / 1.276 GB, free: 18.86 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.145e-05/0.7661, allocations: 8.25 kB / 1.276 GB, free: 18.85 MB / 1.014 GB Notification: Performance of SimCode: time 2.91e-07/0.7661, allocations: 3.938 kB / 1.276 GB, free: 18.84 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02065/0.7868, allocations: 1.372 MB / 1.278 GB, free: 18.48 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.82/7.607, allocations: 10.09 kB / 1.278 GB, free: 18.48 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselY0.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.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: 12.832210217000465]