Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001668/0.001668, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 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.002074/0.002074, allocations: 216.9 kB / 22.25 MB, free: 5.082 MB / 14.72 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 1.594/1.594, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.355/3.355, allocations: 0.49 GB / 0.7951 GB, free: 33.44 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_Math_Functions_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY1,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 75.55 kB / 1.154 GB, free: 25.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.3567, allocations: 176.1 MB / 1.326 GB, free: 1.93 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY1): time 0.001718/0.3585, allocations: 0.5972 MB / 1.327 GB, free: 1.34 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0006469/0.3591, allocations: 303.4 kB / 1.327 GB, free: 1.043 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.662e-05/0.3591, allocations: 0 / 1.327 GB, free: 1.043 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.575e-05/0.3591, allocations: 3.938 kB / 1.327 GB, free: 1.039 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.442e-06/0.3591, allocations: 4 kB / 1.327 GB, free: 1.035 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004495/0.3596, allocations: 95.72 kB / 1.327 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 4.201e-05/0.3596, allocations: 4 kB / 1.327 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.893e-05/0.3597, allocations: 3.984 kB / 1.327 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.156e-05/0.3597, allocations: 0 / 1.327 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 1.823e-05/0.3597, allocations: 0 / 1.327 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.302e-06/0.3597, allocations: 0 / 1.327 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002644/0.36, allocations: 135.7 kB / 1.327 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.137e-05/0.36, allocations: 4 kB / 1.327 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.583e-05/0.36, allocations: 0 / 1.327 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.3602, allocations: 76.03 kB / 1.327 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.298e-05/0.3602, allocations: 4 kB / 1.327 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3602, allocations: 0 / 1.327 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.3602, allocations: 0 / 1.327 GB, free: 0.7188 MB / 1.014 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.0003012/0.3605, allocations: 254.3 kB / 1.327 GB, free: 448 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.3605, allocations: 12.03 kB / 1.327 GB, free: 436 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.695e-05/0.3606, allocations: 34.69 kB / 1.327 GB, free: 392 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.874e-05/0.3606, allocations: 0.9375 kB / 1.327 GB, free: 392 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.051e-05/0.3607, allocations: 102.5 kB / 1.328 GB, free: 264 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.3607, allocations: 4.359 kB / 1.328 GB, free: 260 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.711e-06/0.3607, allocations: 8.375 kB / 1.328 GB, free: 252 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.354e-05/0.3608, allocations: 26.27 kB / 1.328 GB, free: 220 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.3608, allocations: 7.922 kB / 1.328 GB, free: 212 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.43e-06/0.3608, allocations: 0 / 1.328 GB, free: 212 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3608, allocations: 0 / 1.328 GB, free: 212 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.741e-05/0.3608, allocations: 4 kB / 1.328 GB, free: 208 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001389/0.3609, allocations: 116.8 kB / 1.328 GB, free: 48 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 4.227e-05/0.361, allocations: 22.55 kB / 1.328 GB, free: 16 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.451e-05/0.361, allocations: 8.859 kB / 1.328 GB, free: 4 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006295/0.3616, allocations: 87.91 kB / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.3616, allocations: 34.56 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.3616, allocations: 0 / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001262/0.3618, allocations: 41.62 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/0.3618, allocations: 59.34 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.499e-05/0.3619, allocations: 89.86 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.3619, allocations: 25.7 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 2.958e-05/0.3619, allocations: 80.14 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.3619, allocations: 3.953 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.499e-05/0.362, allocations: 13.84 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.3621, allocations: 314.8 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.935e-06/0.3621, allocations: 3.938 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.799e-06/0.3621, allocations: 0 / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.859e-05/0.3621, allocations: 16.84 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.3621, allocations: 0 / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.696e-05/0.3622, allocations: 29.7 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.3622, allocations: 8.094 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3622, allocations: 11.88 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.3622, allocations: 0 / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.527e-05/0.3622, allocations: 4 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.3622, allocations: 0 / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.995e-06/0.3622, allocations: 0 / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/0.3623, allocations: 0 / 1.328 GB, free: 15.12 MB / 1.029 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 7.363e-05/0.3623, allocations: 114.4 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.651e-06/0.3623, allocations: 0 / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.702e-05/0.3624, allocations: 44.64 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.3624, allocations: 0 / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.3624, allocations: 0 / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.3624, allocations: 0 / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.893e-05/0.3625, allocations: 120.8 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.3625, allocations: 0 / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.969e-06/0.3625, allocations: 0 / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.163e-06/0.3625, allocations: 0 / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.096e-06/0.3625, allocations: 7.875 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.3625, allocations: 4 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.3625, allocations: 0 / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.268e-05/0.3626, allocations: 61.16 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.186e-06/0.3626, allocations: 0 / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.148e-05/0.3626, allocations: 7.938 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.181e-06/0.3626, allocations: 0 / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.658e-06/0.3626, allocations: 0 / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-06/0.3626, allocations: 0 / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.184e-05/0.3627, allocations: 79.22 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3627, allocations: 4.031 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002001/0.3629, allocations: 23.94 kB / 1.329 GB, free: 14.59 MB / 1.029 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.0004805/0.3633, allocations: 0.6435 MB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 6.379e-05/0.3634, allocations: 11.98 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3634, allocations: 0 / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.06e-06/0.3634, allocations: 0 / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001192/0.3635, allocations: 5.031 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002853/0.3638, allocations: 129.6 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.3641, allocations: 0.6729 MB / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.227e-06/0.3641, allocations: 0 / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.551e-05/0.3641, allocations: 7.438 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.3641, allocations: 0 / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.143/0.5071, allocations: 1.513 MB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.27, allocations: 4.656 kB / 1.332 GB, free: 11.64 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --stepSize=0.01196 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Functions_Examples_BesselY1.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 19.63698179484345]