Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.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.0009236/0.0009236, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001314/0.001314, 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.8808/0.8808, allocations: 177.2 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.805/1.805, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.BesselY0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.864e-05/2.016e-05, allocations: 4.812 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002008/0.002028, allocations: 1.44 MB / 1.001 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0005036/0.002532, allocations: 323.6 kB / 1.001 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.891e-05/0.00256, allocations: 0 / 1.001 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.739e-05/0.002588, allocations: 3.938 kB / 1.001 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.73e-05/0.002625, allocations: 0 / 1.001 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003921/0.003017, allocations: 111.5 kB / 1.001 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.679e-05/0.003074, allocations: 15.94 kB / 1.002 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.506e-05/0.003159, allocations: 11.98 kB / 1.002 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.346e-05/0.003203, allocations: 12 kB / 1.002 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.037e-05/0.003233, allocations: 11.97 kB / 1.002 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.003243, allocations: 0 / 1.002 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001587/0.003402, allocations: 115.8 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.399e-05/0.003426, allocations: 7.984 kB / 1.002 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.544e-05/0.003441, allocations: 4 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.003606, allocations: 111.6 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.00361, allocations: 4 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.322e-06/0.003611, allocations: 0 / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.003616, allocations: 0 / 1.002 GB, free: 11.32 MB / 0.9636 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.000342/0.003958, allocations: 278.2 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.003996, allocations: 12.69 kB / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.656e-05/0.004023, allocations: 30.75 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.01e-05/0.004043, allocations: 4.922 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.955e-05/0.004113, allocations: 113.7 kB / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-06/0.004121, allocations: 384 / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.704e-06/0.004129, allocations: 4.375 kB / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.004247, allocations: 46.23 kB / 1.002 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-06/0.004252, allocations: 4.188 kB / 1.002 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.044e-06/0.004259, allocations: 384 / 1.002 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.004265, allocations: 8.125 kB / 1.002 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.734e-05/0.004352, allocations: 27.97 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002671/0.004619, allocations: 224 kB / 1.003 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.69e-05/0.004696, allocations: 34.56 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.341e-05/0.00474, allocations: 20.91 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003564/0.005096, allocations: 83.91 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.005118, allocations: 42.5 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.00512, allocations: 0 / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002222/0.005342, allocations: 85.52 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.005368, allocations: 59.53 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.909e-05/0.005417, allocations: 93.86 kB / 1.003 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.005427, allocations: 29.69 kB / 1.003 GB, free: 9.973 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.031e-05/0.005457, allocations: 84.14 kB / 1.003 GB, free: 9.887 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.473e-05/0.005472, allocations: 7.953 kB / 1.003 GB, free: 9.879 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.403e-05/0.005496, allocations: 9.719 kB / 1.003 GB, free: 9.863 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.868e-05/0.005565, allocations: 318.8 kB / 1.003 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.111e-05/0.005606, allocations: 11.98 kB / 1.003 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.745e-05/0.005643, allocations: 19.97 kB / 1.003 GB, free: 9.512 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.578e-05/0.005719, allocations: 40.89 kB / 1.003 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.005721, allocations: 3.938 kB / 1.003 GB, free: 9.465 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001008/0.005821, allocations: 73.53 kB / 1.003 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.005833, allocations: 4 kB / 1.003 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.005837, allocations: 0 / 1.003 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.005847, allocations: 0 / 1.003 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.376e-05/0.005901, allocations: 16.02 kB / 1.003 GB, free: 9.367 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.167e-06/0.005905, allocations: 0 / 1.003 GB, free: 9.367 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.125e-05/0.005926, allocations: 4 kB / 1.003 GB, free: 9.363 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.005932, allocations: 3.984 kB / 1.004 GB, free: 9.359 MB / 0.9636 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 4.903e-05/0.005981, allocations: 113.8 kB / 1.004 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.171e-05/0.005992, allocations: 7.938 kB / 1.004 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001246/0.006117, allocations: 72.86 kB / 1.004 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.006118, allocations: 4.031 kB / 1.004 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.006123, allocations: 4 kB / 1.004 GB, free: 9.141 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.006125, allocations: 0 / 1.004 GB, free: 9.141 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.777e-05/0.006223, allocations: 124.8 kB / 1.004 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.006224, allocations: 0 / 1.004 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.79e-05/0.006252, allocations: 7.984 kB / 1.004 GB, free: 8.969 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.006257, allocations: 7.938 kB / 1.004 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.006263, allocations: 0 / 1.004 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.006264, allocations: 0 / 1.004 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.006264, allocations: 192 / 1.004 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.006388, allocations: 163.5 kB / 1.004 GB, free: 8.785 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.503e-06/0.006395, allocations: 7.922 kB / 1.004 GB, free: 8.777 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.408e-06/0.006404, allocations: 4 kB / 1.004 GB, free: 8.773 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.686e-05/0.006441, allocations: 11.92 kB / 1.004 GB, free: 8.762 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.892e-05/0.00647, allocations: 0 / 1.004 GB, free: 8.762 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.006473, allocations: 7.938 kB / 1.004 GB, free: 8.754 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.863e-05/0.006502, allocations: 83.28 kB / 1.004 GB, free: 8.672 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006502, allocations: 0 / 1.004 GB, free: 8.672 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001811/0.006683, allocations: 35.86 kB / 1.004 GB, free: 8.637 MB / 0.9636 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.000411/0.007094, allocations: 0.7358 MB / 1.005 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001236/0.007218, allocations: 31.97 kB / 1.005 GB, free: 7.844 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.00722, allocations: 4 kB / 1.005 GB, free: 7.84 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.918e-05/0.007259, allocations: 19.91 kB / 1.005 GB, free: 7.82 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001784/0.007438, allocations: 8 kB / 1.005 GB, free: 7.812 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003199/0.007758, allocations: 134.5 kB / 1.005 GB, free: 7.641 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.07e-05/0.007798, allocations: 67.47 kB / 1.005 GB, free: 7.555 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.627e-05/0.007815, allocations: 0 / 1.005 GB, free: 7.555 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.71e-05/0.007842, allocations: 8.5 kB / 1.005 GB, free: 7.547 MB / 0.9636 GB Notification: Performance of SimCode: time 6.82e-07/0.007842, allocations: 3.938 kB / 1.005 GB, free: 7.543 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01646/0.0243, allocations: 2.441 MB / 1.007 GB, free: 5.234 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.776/6.801, allocations: 10.06 kB / 1.008 GB, free: 5.227 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --stepSize=0.01196 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_BesselY0.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.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: 10.882281308993697]