Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001562/0.001562, allocations: 105.8 kB / 16.45 MB, free: 6.445 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.001873/0.001873, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.474/1.474, allocations: 225.6 MB / 247.8 MB, free: 3.715 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.682/2.682, allocations: 443.5 MB / 0.7287 GB, free: 14.47 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 67.89 kB / 1.056 GB, free: 2.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3147, allocations: 160.7 MB / 1.213 GB, free: 1.355 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001757/0.3164, allocations: 0.5906 MB / 1.214 GB, free: 0.7617 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0006227/0.317, allocations: 287 kB / 1.214 GB, free: 492 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.185e-05/0.3171, allocations: 0 / 1.214 GB, free: 492 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.627e-05/0.3171, allocations: 0 / 1.214 GB, free: 492 kB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.372e-06/0.3171, allocations: 0 / 1.214 GB, free: 492 kB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004444/0.3175, allocations: 99.72 kB / 1.214 GB, free: 392 kB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 3.822e-05/0.3176, allocations: 4 kB / 1.214 GB, free: 388 kB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.372e-05/0.3176, allocations: 7.984 kB / 1.214 GB, free: 380 kB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 1.252e-05/0.3176, allocations: 0 / 1.214 GB, free: 380 kB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 1.788e-05/0.3176, allocations: 0 / 1.214 GB, free: 380 kB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.162e-06/0.3176, allocations: 0 / 1.214 GB, free: 380 kB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002482/0.3179, allocations: 123.8 kB / 1.214 GB, free: 256 kB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.504e-06/0.3179, allocations: 3.938 kB / 1.214 GB, free: 252 kB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 1.392e-05/0.3179, allocations: 4 kB / 1.214 GB, free: 248 kB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.3181, allocations: 68.11 kB / 1.214 GB, free: 180 kB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3181, allocations: 4 kB / 1.214 GB, free: 176 kB / 0.9512 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3181, allocations: 0 / 1.214 GB, free: 176 kB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.3181, allocations: 0 / 1.214 GB, free: 176 kB / 0.9512 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.0003601/0.3184, allocations: 327.4 kB / 1.214 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.3185, allocations: 8.031 kB / 1.214 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.432e-05/0.3185, allocations: 34.75 kB / 1.214 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.14e-05/0.3185, allocations: 4.938 kB / 1.214 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.3186, allocations: 160.4 kB / 1.215 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.3187, allocations: 384 / 1.215 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.3187, allocations: 4.312 kB / 1.215 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.793e-05/0.3188, allocations: 38.25 kB / 1.215 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.3188, allocations: 3.938 kB / 1.215 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.3188, allocations: 3.984 kB / 1.215 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.3188, allocations: 0 / 1.215 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.643e-05/0.3188, allocations: 3.938 kB / 1.215 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000151/0.3189, allocations: 145.6 kB / 1.215 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.322e-05/0.319, allocations: 22.61 kB / 1.215 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.92e-05/0.319, allocations: 12.8 kB / 1.215 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007633/0.3198, allocations: 453.5 kB / 1.215 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/0.3198, allocations: 38.56 kB / 1.215 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.143e-06/0.3198, allocations: 0 / 1.215 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001267/0.3199, allocations: 41.58 kB / 1.215 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.32, allocations: 55.39 kB / 1.215 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.392e-05/0.32, allocations: 89.86 kB / 1.215 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.32, allocations: 25.7 kB / 1.216 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.359e-05/0.3201, allocations: 80.14 kB / 1.216 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.3201, allocations: 0 / 1.216 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.626e-05/0.3201, allocations: 13.72 kB / 1.216 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.3203, allocations: 315 kB / 1.216 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.224e-05/0.3203, allocations: 7.938 kB / 1.216 GB, free: 14 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.713e-06/0.3203, allocations: 4 kB / 1.216 GB, free: 14 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.368e-05/0.3203, allocations: 4.859 kB / 1.216 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3203, allocations: 0 / 1.216 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.87e-05/0.3204, allocations: 41.69 kB / 1.216 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.3204, allocations: 4 kB / 1.216 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.3204, allocations: 3.938 kB / 1.216 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.3204, allocations: 0 / 1.216 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.664e-05/0.3204, allocations: 8.094 kB / 1.216 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.3204, allocations: 0 / 1.216 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.077e-06/0.3204, allocations: 0 / 1.216 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.3204, allocations: 0 / 1.216 GB, free: 13.93 MB / 0.9669 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.07e-05/0.3205, allocations: 113.8 kB / 1.216 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.001e-06/0.3205, allocations: 0 / 1.216 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.595e-05/0.3206, allocations: 40.75 kB / 1.216 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.3206, allocations: 4 kB / 1.216 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3206, allocations: 4.031 kB / 1.216 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.3206, allocations: 0 / 1.216 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000105/0.3207, allocations: 141.7 kB / 1.216 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.3207, allocations: 0 / 1.216 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.485e-05/0.3207, allocations: 7.984 kB / 1.216 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.3207, allocations: 0 / 1.216 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.3207, allocations: 3.938 kB / 1.216 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3207, allocations: 0 / 1.216 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3207, allocations: 0 / 1.216 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.883e-05/0.3208, allocations: 65.08 kB / 1.216 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.032e-05/0.3208, allocations: 77.11 kB / 1.216 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.3209, allocations: 11.86 kB / 1.216 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.772e-06/0.3209, allocations: 3.938 kB / 1.216 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.057e-06/0.3209, allocations: 0 / 1.216 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-06/0.3209, allocations: 0 / 1.216 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.042e-05/0.3209, allocations: 75.28 kB / 1.216 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3209, allocations: 0 / 1.216 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002217/0.3211, allocations: 31.94 kB / 1.217 GB, free: 13.26 MB / 0.9669 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.000507/0.3216, allocations: 0.6435 MB / 1.217 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.985e-05/0.3217, allocations: 4 kB / 1.217 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3217, allocations: 0 / 1.217 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.29e-06/0.3217, allocations: 0 / 1.217 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001401/0.3219, allocations: 8.281 kB / 1.217 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003074/0.3222, allocations: 122.5 kB / 1.217 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/0.3225, allocations: 0.669 MB / 1.218 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.187e-05/0.3225, allocations: 8.125 kB / 1.218 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.419e-05/0.3225, allocations: 7.438 kB / 1.218 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of SimCode: time 3.11e-07/0.3225, allocations: 0 / 1.218 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02348/0.346, allocations: 1.396 MB / 1.219 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.032/8.378, allocations: 6.578 kB / 1.219 GB, free: 10.39 MB / 0.9669 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --stepSize=0.01196 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselY0.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.515379230957478]