Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) 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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_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.008354/0.008354, allocations: 100.3 kB / 15.73 MB, free: 6 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.001922/0.001922, allocations: 195.3 kB / 16.67 MB, free: 5.918 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.587/2.587, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 75.77 kB / 1.054 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7371/0.7384, allocations: 157.4 MB / 1.207 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001761/0.7402, allocations: 0.585 MB / 1.208 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0006368/0.7408, allocations: 296.9 kB / 1.208 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.371e-05/0.7409, allocations: 0 / 1.208 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.481e-05/0.7409, allocations: 0 / 1.208 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.641e-06/0.7409, allocations: 0 / 1.208 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004857/0.7414, allocations: 99.66 kB / 1.208 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 3.77e-05/0.7415, allocations: 0 / 1.208 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.636e-05/0.7415, allocations: 4 kB / 1.208 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.475e-05/0.7415, allocations: 3.984 kB / 1.208 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 1.724e-05/0.7416, allocations: 0 / 1.208 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.361e-06/0.7416, allocations: 4 kB / 1.208 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002722/0.7418, allocations: 119.8 kB / 1.208 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.237e-05/0.7419, allocations: 3.984 kB / 1.208 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.308e-05/0.7419, allocations: 4 kB / 1.208 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002129/0.7421, allocations: 63.91 kB / 1.208 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.7421, allocations: 0 / 1.208 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.394e-06/0.7421, allocations: 0 / 1.208 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.7421, allocations: 0 / 1.208 GB, free: 12.34 MB / 0.9356 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.0004482/0.7426, allocations: 327.6 kB / 1.209 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.7427, allocations: 8.031 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.317e-05/0.7427, allocations: 34.75 kB / 1.209 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.39e-05/0.7428, allocations: 4.938 kB / 1.209 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.7429, allocations: 168.3 kB / 1.209 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.7429, allocations: 384 / 1.209 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-06/0.7429, allocations: 384 / 1.209 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.743, allocations: 30.2 kB / 1.209 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.7431, allocations: 7.938 kB / 1.209 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.7431, allocations: 3.984 kB / 1.209 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.7431, allocations: 0 / 1.209 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.202e-05/0.7431, allocations: 0 / 1.209 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001665/0.7433, allocations: 149.7 kB / 1.209 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 4.433e-05/0.7433, allocations: 22.59 kB / 1.209 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.13e-05/0.7434, allocations: 4.859 kB / 1.209 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009204/0.7443, allocations: 457.5 kB / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.7443, allocations: 38.5 kB / 1.21 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.212e-06/0.7443, allocations: 0 / 1.21 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001365/0.7445, allocations: 37.62 kB / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.7445, allocations: 51.41 kB / 1.21 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.65e-05/0.7446, allocations: 93.86 kB / 1.21 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.7446, allocations: 25.7 kB / 1.21 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.107e-05/0.7446, allocations: 84.27 kB / 1.21 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/0.7447, allocations: 7.844 kB / 1.21 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.008e-05/0.7447, allocations: 13.72 kB / 1.21 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.7448, allocations: 310.8 kB / 1.21 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.768e-06/0.7448, allocations: 0 / 1.21 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.179e-05/0.7448, allocations: 7.938 kB / 1.21 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.765e-05/0.7449, allocations: 12.84 kB / 1.21 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.7449, allocations: 64 / 1.21 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.814e-05/0.745, allocations: 37.7 kB / 1.21 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.745, allocations: 5.562 kB / 1.21 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.745, allocations: 3.938 kB / 1.21 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.745, allocations: 0 / 1.21 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.499e-05/0.7451, allocations: 4 kB / 1.21 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.7451, allocations: 0 / 1.21 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.978e-06/0.7451, allocations: 0 / 1.21 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.7451, allocations: 0 / 1.21 GB, free: 10.11 MB / 0.9356 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 6.956e-05/0.7452, allocations: 109.9 kB / 1.21 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.097e-05/0.7452, allocations: 3.984 kB / 1.21 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.086e-05/0.7453, allocations: 52.64 kB / 1.21 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.7453, allocations: 4 kB / 1.21 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.7453, allocations: 0 / 1.21 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.7453, allocations: 0 / 1.21 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.622e-05/0.7454, allocations: 145.7 kB / 1.211 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.7454, allocations: 0 / 1.211 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.657e-05/0.7454, allocations: 4 kB / 1.211 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.7454, allocations: 0 / 1.211 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.7454, allocations: 7.969 kB / 1.211 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.7454, allocations: 0 / 1.211 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.7454, allocations: 0 / 1.211 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.545e-05/0.7455, allocations: 61.06 kB / 1.211 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.518e-05/0.7456, allocations: 81.11 kB / 1.211 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.7456, allocations: 3.938 kB / 1.211 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.745e-06/0.7456, allocations: 0 / 1.211 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.987e-06/0.7456, allocations: 0 / 1.211 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.7456, allocations: 4.031 kB / 1.211 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 2.289e-05/0.7456, allocations: 75.28 kB / 1.211 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7456, allocations: 0 / 1.211 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002363/0.7459, allocations: 28 kB / 1.211 GB, free: 9.434 MB / 0.9356 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.0004696/0.7464, allocations: 0.6342 MB / 1.211 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 6.953e-05/0.7464, allocations: 7.938 kB / 1.211 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.7464, allocations: 0 / 1.211 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.133e-05/0.7465, allocations: 15.98 kB / 1.212 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001364/0.7466, allocations: 4 kB / 1.212 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000321/0.7469, allocations: 114.6 kB / 1.212 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/0.7472, allocations: 0.6729 MB / 1.212 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.06e-05/0.7472, allocations: 0 / 1.212 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.076e-05/0.7472, allocations: 7.438 kB / 1.212 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of SimCode: time 3.91e-07/0.7472, allocations: 0 / 1.212 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01893/0.7661, allocations: 1.392 MB / 1.214 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.569/8.336, allocations: 4 kB / 1.214 GB, free: 6.582 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselY0.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches