Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.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.BesselY1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_BesselY1",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.005109/0.005109, allocations: 101.6 kB / 15.73 MB, free: 6.051 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.001144/0.001144, allocations: 202.1 kB / 16.68 MB, free: 5.973 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.249/1.249, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.274/2.274, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 67.72 kB / 0.9504 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2333, allocations: 140.4 MB / 1.087 GB, free: 2.141 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.002094/0.2355, allocations: 1.427 MB / 1.089 GB, free: 0.6992 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0005933/0.2361, allocations: 355.7 kB / 1.089 GB, free: 356 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.873e-05/0.2361, allocations: 0 / 1.089 GB, free: 356 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.88e-05/0.2361, allocations: 3.938 kB / 1.089 GB, free: 352 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.047e-05/0.2362, allocations: 8 kB / 1.089 GB, free: 344 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000417/0.2366, allocations: 107.6 kB / 1.089 GB, free: 236 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.618e-05/0.2367, allocations: 23.86 kB / 1.089 GB, free: 212 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.151e-05/0.2368, allocations: 8 kB / 1.089 GB, free: 204 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.771e-05/0.2368, allocations: 11.92 kB / 1.089 GB, free: 192 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.324e-05/0.2369, allocations: 8 kB / 1.089 GB, free: 184 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.015e-06/0.2369, allocations: 0 / 1.089 GB, free: 184 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002081/0.2371, allocations: 135.8 kB / 1.089 GB, free: 48 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.018e-05/0.2371, allocations: 3.938 kB / 1.089 GB, free: 44 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.055e-05/0.2371, allocations: 11.98 kB / 1.09 GB, free: 32 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000177/0.2373, allocations: 95.73 kB / 1.09 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2373, allocations: 0 / 1.09 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2373, allocations: 0 / 1.09 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.2373, allocations: 0 / 1.09 GB, free: 15.94 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.0004282/0.2378, allocations: 350.4 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.2378, allocations: 8.031 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.925e-05/0.2378, allocations: 34.75 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.148e-05/0.2379, allocations: 4.844 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.238, allocations: 172.4 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.334e-06/0.238, allocations: 384 / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.238, allocations: 384 / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.2382, allocations: 50.19 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.2382, allocations: 3.938 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.2382, allocations: 3.984 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.2382, allocations: 4 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001576/0.2384, allocations: 31.91 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002716/0.2387, allocations: 249 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.2388, allocations: 38.5 kB / 1.091 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.337e-05/0.2389, allocations: 26.33 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006442/0.2395, allocations: 465.5 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.2396, allocations: 42.53 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.2396, allocations: 0 / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003263/0.2399, allocations: 85.5 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.2399, allocations: 55.39 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.984e-05/0.24, allocations: 101.9 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.24, allocations: 25.7 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.868e-05/0.24, allocations: 80.14 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.504e-05/0.2401, allocations: 8.75 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/0.2401, allocations: 21.83 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.095e-05/0.2402, allocations: 310.8 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.1e-05/0.2403, allocations: 15.98 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.047e-05/0.2403, allocations: 15.98 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.2405, allocations: 40.75 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.2405, allocations: 12 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001758/0.2407, allocations: 65.61 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.2407, allocations: 11.98 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.2407, allocations: 0 / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.2407, allocations: 0 / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.117e-05/0.2408, allocations: 4 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.2408, allocations: 0 / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.578e-05/0.2409, allocations: 11.92 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.2409, allocations: 8.031 kB / 1.092 GB, free: 13.3 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 5.967e-05/0.2409, allocations: 109.8 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.076e-05/0.241, allocations: 0 / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000207/0.2412, allocations: 80.7 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.2412, allocations: 0 / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2412, allocations: 0 / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.2412, allocations: 3.969 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/0.2413, allocations: 165.6 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.2413, allocations: 4 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.499e-05/0.2414, allocations: 11.98 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.2414, allocations: 0 / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.2414, allocations: 0 / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.2414, allocations: 0 / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2414, allocations: 0 / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.2417, allocations: 175.4 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.803e-05/0.2417, allocations: 81.02 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.075e-05/0.2417, allocations: 4 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.226e-05/0.2418, allocations: 3.984 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.982e-05/0.2418, allocations: 4 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-06/0.2418, allocations: 0 / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.224e-05/0.2419, allocations: 87.27 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2419, allocations: 0 / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002389/0.2421, allocations: 32.03 kB / 1.093 GB, free: 12.46 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.0005276/0.2427, allocations: 0.7242 MB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001919/0.2429, allocations: 39.89 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2429, allocations: 4 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.737e-05/0.243, allocations: 16.05 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.2432, allocations: 9.562 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003444/0.2435, allocations: 143.3 kB / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001828/0.2437, allocations: 0.6768 MB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.852e-05/0.2437, allocations: 0 / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.562e-05/0.2438, allocations: 19.38 kB / 1.094 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of SimCode: time 2.11e-07/0.2438, allocations: 0 / 1.094 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.864/2.108, allocations: 1.767 MB / 1.096 GB, free: 9.039 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.822/9.93, allocations: 7.922 kB / 1.096 GB, free: 9.031 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.BesselY1_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_BesselY1.fmu > Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches