Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.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.001727/0.001727, allocations: 107.3 kB / 16.45 MB, free: 6.035 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.002121/0.002121, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.459/1.459, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.245/3.245, allocations: 497.2 MB / 0.7811 GB, free: 33.64 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.BesselY1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 67.06 kB / 1.134 GB, free: 33.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3678/0.3697, allocations: 173.9 MB / 1.304 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY1): time 0.001962/0.3717, allocations: 0.6013 MB / 1.305 GB, free: 0.9648 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007329/0.3724, allocations: 299.3 kB / 1.305 GB, free: 0.6719 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.228e-05/0.3724, allocations: 0 / 1.305 GB, free: 0.6719 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.299e-05/0.3725, allocations: 4 kB / 1.305 GB, free: 0.668 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.971e-06/0.3725, allocations: 0 / 1.305 GB, free: 0.668 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000572/0.373, allocations: 103.3 kB / 1.305 GB, free: 0.5703 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.811e-05/0.3731, allocations: 0 / 1.305 GB, free: 0.5703 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.253e-05/0.3731, allocations: 3.984 kB / 1.305 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.174e-05/0.3731, allocations: 3.938 kB / 1.305 GB, free: 0.5625 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.532e-05/0.3732, allocations: 11.92 kB / 1.305 GB, free: 0.5508 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.011e-06/0.3732, allocations: 0 / 1.305 GB, free: 0.5508 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002808/0.3735, allocations: 127.8 kB / 1.305 GB, free: 436 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.496e-06/0.3735, allocations: 0 / 1.305 GB, free: 436 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.347e-05/0.3735, allocations: 3.984 kB / 1.305 GB, free: 432 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001884/0.3737, allocations: 76.05 kB / 1.305 GB, free: 356 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3737, allocations: 0 / 1.305 GB, free: 356 kB / 0.9981 GB Notification: Performance of FrontEnd: time 2.695e-06/0.3737, allocations: 0 / 1.305 GB, free: 356 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.038e-05/0.3737, allocations: 0 / 1.305 GB, free: 356 kB / 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.0003958/0.3741, allocations: 331.4 kB / 1.306 GB, free: 15.97 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.3741, allocations: 12.86 kB / 1.306 GB, free: 15.96 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.008e-05/0.3742, allocations: 34.75 kB / 1.306 GB, free: 15.92 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.093e-05/0.3742, allocations: 0.9375 kB / 1.306 GB, free: 15.92 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.3743, allocations: 164.4 kB / 1.306 GB, free: 15.72 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.3743, allocations: 4.375 kB / 1.306 GB, free: 15.71 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.3744, allocations: 4.375 kB / 1.306 GB, free: 15.71 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.3745, allocations: 26.27 kB / 1.306 GB, free: 15.68 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.3745, allocations: 7.875 kB / 1.306 GB, free: 15.67 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.3745, allocations: 0 / 1.306 GB, free: 15.67 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.3745, allocations: 0 / 1.306 GB, free: 15.67 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.169e-05/0.3745, allocations: 4 kB / 1.306 GB, free: 15.67 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001586/0.3747, allocations: 145.7 kB / 1.306 GB, free: 15.48 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 5.265e-05/0.3747, allocations: 18.58 kB / 1.306 GB, free: 15.45 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.131e-05/0.3748, allocations: 16.88 kB / 1.306 GB, free: 15.43 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009785/0.3757, allocations: 465.5 kB / 1.306 GB, free: 14.88 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.3758, allocations: 34.56 kB / 1.306 GB, free: 14.84 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.3758, allocations: 0 / 1.306 GB, free: 14.84 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001504/0.3759, allocations: 45.56 kB / 1.306 GB, free: 14.79 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.376, allocations: 51.41 kB / 1.307 GB, free: 14.73 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.211e-05/0.376, allocations: 93.84 kB / 1.307 GB, free: 14.62 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.376, allocations: 25.7 kB / 1.307 GB, free: 14.59 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.599e-05/0.3761, allocations: 80.14 kB / 1.307 GB, free: 14.51 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.978e-05/0.3761, allocations: 4.125 kB / 1.307 GB, free: 14.51 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.08e-05/0.3761, allocations: 17.72 kB / 1.307 GB, free: 14.48 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.3763, allocations: 310.8 kB / 1.307 GB, free: 14.17 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.015e-05/0.3763, allocations: 0 / 1.307 GB, free: 14.17 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.032e-06/0.3763, allocations: 0 / 1.307 GB, free: 14.17 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.013e-05/0.3763, allocations: 12.8 kB / 1.307 GB, free: 14.16 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3763, allocations: 0 / 1.307 GB, free: 14.16 MB / 1.014 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.158e-05/0.3764, allocations: 37.73 kB / 1.307 GB, free: 14.11 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.3764, allocations: 12 kB / 1.307 GB, free: 14.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.3764, allocations: 3.938 kB / 1.307 GB, free: 14.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.3764, allocations: 0 / 1.307 GB, free: 14.1 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.068e-05/0.3765, allocations: 0 / 1.307 GB, free: 14.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.3765, allocations: 0 / 1.307 GB, free: 14.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.245e-05/0.3765, allocations: 4 kB / 1.307 GB, free: 14.09 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.239e-06/0.3765, allocations: 4 kB / 1.307 GB, free: 14.09 MB / 1.014 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 8.987e-05/0.3766, allocations: 109.8 kB / 1.307 GB, free: 13.97 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.262e-06/0.3766, allocations: 0 / 1.307 GB, free: 13.97 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.317e-05/0.3767, allocations: 48.69 kB / 1.307 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3767, allocations: 0 / 1.307 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3767, allocations: 0 / 1.307 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.3767, allocations: 7.938 kB / 1.307 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.3768, allocations: 149.7 kB / 1.307 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3768, allocations: 0 / 1.307 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.309e-05/0.3768, allocations: 3.984 kB / 1.307 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.3768, allocations: 0 / 1.307 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.3769, allocations: 7.938 kB / 1.307 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.3769, allocations: 0 / 1.307 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3769, allocations: 7.969 kB / 1.307 GB, free: 13.69 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.4e-05/0.3769, allocations: 53.08 kB / 1.307 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.316e-05/0.377, allocations: 77.11 kB / 1.308 GB, free: 13.53 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.377, allocations: 11.92 kB / 1.308 GB, free: 13.52 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.007e-06/0.377, allocations: 4 kB / 1.308 GB, free: 13.51 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.556e-05/0.377, allocations: 0 / 1.308 GB, free: 13.51 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/0.377, allocations: 0 / 1.308 GB, free: 13.51 MB / 1.014 GB Notification: Performance of sorting global known variables: time 3.625e-05/0.3771, allocations: 79.31 kB / 1.308 GB, free: 13.43 MB / 1.014 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3771, allocations: 0 / 1.308 GB, free: 13.43 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002251/0.3773, allocations: 23.94 kB / 1.308 GB, free: 13.41 MB / 1.014 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.0006623/0.378, allocations: 0.6397 MB / 1.308 GB, free: 12.74 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 9.553e-05/0.3781, allocations: 7.938 kB / 1.308 GB, free: 12.73 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3781, allocations: 0 / 1.308 GB, free: 12.73 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 6.101e-06/0.3781, allocations: 0 / 1.308 GB, free: 12.73 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001456/0.3782, allocations: 6.156 kB / 1.308 GB, free: 12.73 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000385/0.3786, allocations: 118.5 kB / 1.308 GB, free: 12.57 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004203/0.379, allocations: 0.6729 MB / 1.309 GB, free: 11.87 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.058e-05/0.379, allocations: 0 / 1.309 GB, free: 11.87 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.715e-05/0.379, allocations: 7.438 kB / 1.309 GB, free: 11.86 MB / 1.014 GB Notification: Performance of SimCode: time 3.2e-07/0.379, allocations: 0 / 1.309 GB, free: 11.86 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02941/0.4084, allocations: 1.414 MB / 1.31 GB, free: 10.54 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.012/8.421, allocations: 10.72 kB / 1.31 GB, free: 10.53 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --stepSize=0.01196 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselY1.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.391855549998581]