Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.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.001367/0.001367, allocations: 103 kB / 16.45 MB, free: 6.449 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.001467/0.001467, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.584/1.584, allocations: 230.6 MB / 252.8 MB, free: 9.156 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.298/3.298, allocations: 0.49 GB / 0.7916 GB, free: 33.23 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.BesselY0,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_BesselY0",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.002031/0.002031, allocations: 72.09 kB / 1.149 GB, free: 26.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3762/0.3782, allocations: 176.1 MB / 1.321 GB, free: 3.305 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.00262/0.3808, allocations: 0.5826 MB / 1.321 GB, free: 2.723 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0007875/0.3816, allocations: 299.3 kB / 1.322 GB, free: 2.43 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.705e-05/0.3816, allocations: 0 / 1.322 GB, free: 2.43 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.073e-05/0.3816, allocations: 0 / 1.322 GB, free: 2.43 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.005e-06/0.3817, allocations: 0 / 1.322 GB, free: 2.43 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005956/0.3822, allocations: 95.72 kB / 1.322 GB, free: 2.336 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.953e-05/0.3823, allocations: 0 / 1.322 GB, free: 2.336 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.453e-05/0.3824, allocations: 8 kB / 1.322 GB, free: 2.328 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.546e-05/0.3824, allocations: 3.984 kB / 1.322 GB, free: 2.324 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.18e-05/0.3824, allocations: 0 / 1.322 GB, free: 2.324 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.194e-06/0.3824, allocations: 0 / 1.322 GB, free: 2.324 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002642/0.3827, allocations: 115.8 kB / 1.322 GB, free: 2.211 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.269e-05/0.3827, allocations: 7.969 kB / 1.322 GB, free: 2.203 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.932e-05/0.3827, allocations: 0 / 1.322 GB, free: 2.203 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.3829, allocations: 68.06 kB / 1.322 GB, free: 2.137 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3829, allocations: 4 kB / 1.322 GB, free: 2.133 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3829, allocations: 0 / 1.322 GB, free: 2.133 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.3829, allocations: 0 / 1.322 GB, free: 2.133 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.000394/0.3833, allocations: 339.3 kB / 1.322 GB, free: 1.75 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/0.3833, allocations: 11.98 kB / 1.322 GB, free: 1.738 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.907e-05/0.3834, allocations: 30.75 kB / 1.322 GB, free: 1.699 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.674e-05/0.3834, allocations: 0.9375 kB / 1.322 GB, free: 1.699 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.3835, allocations: 164.4 kB / 1.323 GB, free: 1.5 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.3835, allocations: 4.359 kB / 1.323 GB, free: 1.496 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.954e-06/0.3836, allocations: 384 / 1.323 GB, free: 1.496 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.3837, allocations: 26.27 kB / 1.323 GB, free: 1.465 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.3837, allocations: 7.938 kB / 1.323 GB, free: 1.457 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.774e-06/0.3837, allocations: 0 / 1.323 GB, free: 1.457 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.3837, allocations: 0 / 1.323 GB, free: 1.457 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.015e-05/0.3837, allocations: 4 kB / 1.323 GB, free: 1.453 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001876/0.3839, allocations: 145.7 kB / 1.323 GB, free: 1.262 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 4.898e-05/0.3839, allocations: 22.55 kB / 1.323 GB, free: 1.23 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.395e-05/0.384, allocations: 8.844 kB / 1.323 GB, free: 1.219 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008744/0.3848, allocations: 461.5 kB / 1.323 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.3849, allocations: 30.56 kB / 1.323 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.3849, allocations: 0 / 1.323 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001568/0.385, allocations: 45.56 kB / 1.323 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.403e-05/0.3851, allocations: 59.53 kB / 1.323 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.286e-05/0.3851, allocations: 89.86 kB / 1.323 GB, free: 428 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.3852, allocations: 29.64 kB / 1.323 GB, free: 392 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.171e-05/0.3852, allocations: 80.14 kB / 1.323 GB, free: 308 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.095e-05/0.3852, allocations: 3.953 kB / 1.323 GB, free: 304 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.441e-05/0.3853, allocations: 13.72 kB / 1.324 GB, free: 284 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002314/0.3855, allocations: 310.8 kB / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.061e-05/0.3855, allocations: 0 / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.293e-06/0.3855, allocations: 4 kB / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.05e-05/0.3856, allocations: 16.8 kB / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3856, allocations: 0 / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.119e-05/0.3856, allocations: 37.62 kB / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.3856, allocations: 8 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.3856, allocations: 3.938 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.3857, allocations: 0 / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.114e-05/0.3857, allocations: 0 / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.3857, allocations: 0 / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.409e-05/0.3857, allocations: 8.094 kB / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.3857, allocations: 0 / 1.324 GB, free: 15.88 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 8.308e-05/0.3858, allocations: 105.8 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.51e-06/0.3858, allocations: 0 / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.852e-05/0.3859, allocations: 48.75 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.3859, allocations: 3.984 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.3859, allocations: 0 / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.3859, allocations: 4 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/0.386, allocations: 149.6 kB / 1.324 GB, free: 15.51 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.386, allocations: 4.031 kB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.032e-05/0.386, allocations: 0 / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.386, allocations: 0 / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.3861, allocations: 7.938 kB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.3861, allocations: 0 / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3861, allocations: 0 / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.274e-05/0.3861, allocations: 57.12 kB / 1.324 GB, free: 15.42 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.369e-05/0.3862, allocations: 77.11 kB / 1.324 GB, free: 15.33 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.3862, allocations: 11.97 kB / 1.324 GB, free: 15.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.953e-06/0.3862, allocations: 0 / 1.324 GB, free: 15.32 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.798e-06/0.3862, allocations: 0 / 1.324 GB, free: 15.32 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.3862, allocations: 0 / 1.324 GB, free: 15.32 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.597e-05/0.3862, allocations: 75.28 kB / 1.324 GB, free: 15.24 MB / 1.029 GB Notification: Performance of sort global known variables: time 5e-08/0.3862, allocations: 0 / 1.324 GB, free: 15.24 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002261/0.3865, allocations: 23.94 kB / 1.324 GB, free: 15.22 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.0005458/0.387, allocations: 0.6435 MB / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.085e-05/0.3871, allocations: 11.97 kB / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3871, allocations: 3.938 kB / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.648e-06/0.3871, allocations: 4 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001348/0.3872, allocations: 11.92 kB / 1.325 GB, free: 14.51 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003166/0.3876, allocations: 113.3 kB / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.3878, allocations: 0.6768 MB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.022e-05/0.3879, allocations: 0 / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.904e-05/0.3879, allocations: 7.438 kB / 1.326 GB, free: 13.65 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.3879, allocations: 4.125 kB / 1.326 GB, free: 13.65 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02457/0.4124, allocations: 1.386 MB / 1.327 GB, free: 12.34 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.94/8.353, allocations: 5.359 kB / 1.327 GB, free: 12.34 MB / 1.029 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --stepSize=0.01196 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Functions_Examples_BesselY0.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 15.313447486842051]