Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Examples.BesselY0,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY0,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004975/0.004975, allocations: 101 kB / 15.73 MB, free: 6.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 195.8 kB / 16.68 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.199/1.199, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.081/2.081, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 64.03 kB / 0.9504 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2426, allocations: 140.4 MB / 1.087 GB, free: 2 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002307/0.245, allocations: 1.42 MB / 1.089 GB, free: 0.5664 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0005665/0.2456, allocations: 347.7 kB / 1.089 GB, free: 228 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.556e-05/0.2456, allocations: 4 kB / 1.089 GB, free: 224 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.054e-05/0.2456, allocations: 0 / 1.089 GB, free: 224 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.555e-05/0.2457, allocations: 3.938 kB / 1.089 GB, free: 220 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003914/0.2461, allocations: 103.7 kB / 1.089 GB, free: 116 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.684e-05/0.2461, allocations: 23.92 kB / 1.089 GB, free: 92 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 7.597e-05/0.2462, allocations: 4 kB / 1.089 GB, free: 88 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.84e-05/0.2463, allocations: 11.94 kB / 1.089 GB, free: 76 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.506e-05/0.2463, allocations: 15.97 kB / 1.089 GB, free: 60 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.945e-06/0.2463, allocations: 7.938 kB / 1.089 GB, free: 52 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001973/0.2465, allocations: 115.8 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.352e-05/0.2465, allocations: 11.92 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.886e-05/0.2466, allocations: 4 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.2467, allocations: 91.73 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2468, allocations: 0 / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2468, allocations: 0 / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.2468, allocations: 0 / 1.09 GB, free: 15.83 MB / 0.8575 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.0004222/0.2472, allocations: 354.3 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.2472, allocations: 12.03 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.172e-05/0.2473, allocations: 34.75 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.044e-05/0.2473, allocations: 0.9375 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.2474, allocations: 168.4 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.592e-06/0.2474, allocations: 384 / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.2474, allocations: 384 / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.2476, allocations: 54.22 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.2476, allocations: 3.938 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.803e-06/0.2476, allocations: 3.938 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.2476, allocations: 0 / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001497/0.2478, allocations: 39.91 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002643/0.2481, allocations: 245 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.2482, allocations: 38.5 kB / 1.09 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.45e-05/0.2483, allocations: 28.91 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005951/0.2489, allocations: 453.5 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.2489, allocations: 38.5 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.2489, allocations: 0 / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.000323/0.2493, allocations: 85.55 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.781e-05/0.2493, allocations: 51.41 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.336e-05/0.2494, allocations: 101.8 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.2494, allocations: 25.7 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.29e-05/0.2495, allocations: 84.14 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.2495, allocations: 10.17 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.761e-05/0.2495, allocations: 17.84 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.2497, allocations: 314.8 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.826e-05/0.2498, allocations: 15.98 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.845e-05/0.2499, allocations: 11.98 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.25, allocations: 44.83 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.25, allocations: 3.938 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001836/0.2502, allocations: 69.66 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.2502, allocations: 4 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.2502, allocations: 0 / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.2502, allocations: 0 / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.181e-05/0.2503, allocations: 15.92 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.2503, allocations: 4 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.788e-05/0.2504, allocations: 15.95 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.2504, allocations: 0 / 1.092 GB, free: 13.21 MB / 0.8575 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 6.042e-05/0.2505, allocations: 113.8 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.215e-05/0.2505, allocations: 0 / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00021/0.2507, allocations: 72.72 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.2507, allocations: 0 / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.2507, allocations: 4 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-06/0.2507, allocations: 4.031 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.2509, allocations: 161.6 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.2509, allocations: 3.938 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.076e-05/0.2509, allocations: 4 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.2509, allocations: 7.984 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-06/0.251, allocations: 0 / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.251, allocations: 3.984 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.251, allocations: 0 / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002137/0.2512, allocations: 175.3 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.32e-05/0.2512, allocations: 77.11 kB / 1.092 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.908e-06/0.2512, allocations: 0 / 1.092 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.925e-05/0.2513, allocations: 7.984 kB / 1.092 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.75e-05/0.2513, allocations: 0 / 1.092 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-06/0.2513, allocations: 4 kB / 1.092 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.089e-05/0.2514, allocations: 79.47 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2514, allocations: 8.031 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002308/0.2516, allocations: 27.98 kB / 1.093 GB, free: 12.37 MB / 0.8575 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.0007042/0.2523, allocations: 0.7399 MB / 1.093 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000194/0.2525, allocations: 31.97 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2526, allocations: 0 / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.245e-05/0.2526, allocations: 24.05 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.2529, allocations: 7.984 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003809/0.2532, allocations: 143.3 kB / 1.093 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.2536, allocations: 0.6806 MB / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.89e-05/0.2536, allocations: 0 / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.844e-05/0.2536, allocations: 11.44 kB / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of SimCode: time 2.61e-07/0.2536, allocations: 8 kB / 1.094 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5389/0.7926, allocations: 1.736 MB / 1.096 GB, free: 8.965 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.514/8.306, allocations: 17.11 kB / 1.096 GB, free: 8.953 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.BesselY0_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_BesselY0.fmu > Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches