Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Functions.Examples.BesselY0,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="Buildings_9_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.007194/0.007194, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001536/0.001536, allocations: 195.9 kB / 16.67 MB, free: 5.52 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.288/1.288, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.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.057/2.057, allocations: 390.3 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 67.89 kB / 0.9504 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6616/0.6628, allocations: 140.4 MB / 1.088 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001527/0.6644, allocations: 0.5664 MB / 1.088 GB, free: 5.172 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005222/0.6649, allocations: 293.1 kB / 1.088 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.352e-05/0.665, allocations: 4.938 kB / 1.088 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.644e-05/0.665, allocations: 0 / 1.088 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.342e-06/0.665, allocations: 0 / 1.088 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004395/0.6655, allocations: 91.52 kB / 1.088 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 3.448e-05/0.6655, allocations: 1.719 kB / 1.088 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.521e-05/0.6656, allocations: 5.719 kB / 1.088 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.226e-05/0.6656, allocations: 5.328 kB / 1.088 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 1.789e-05/0.6656, allocations: 0.5156 kB / 1.088 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.001e-06/0.6656, allocations: 5.438 kB / 1.088 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002296/0.6658, allocations: 113 kB / 1.089 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.194e-06/0.6658, allocations: 7.922 kB / 1.089 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.445e-05/0.6659, allocations: 4.875 kB / 1.089 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001434/0.666, allocations: 67.09 kB / 1.089 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.666, allocations: 0 / 1.089 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.242e-06/0.666, allocations: 0 / 1.089 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.666, allocations: 0.5625 kB / 1.089 GB, free: 4.871 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002035/0.6662, allocations: 328.3 kB / 1.089 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.6663, allocations: 9.094 kB / 1.089 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.479e-05/0.6663, allocations: 38.75 kB / 1.089 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.941e-05/0.6663, allocations: 2.594 kB / 1.089 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.675e-05/0.6664, allocations: 161.2 kB / 1.089 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.669e-06/0.6664, allocations: 1.438 kB / 1.089 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.43e-06/0.6664, allocations: 384 / 1.089 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.482e-05/0.6665, allocations: 33.75 kB / 1.089 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.6665, allocations: 3.938 kB / 1.089 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.134e-06/0.6665, allocations: 1.094 kB / 1.089 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.6665, allocations: 0 / 1.089 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.936e-05/0.6666, allocations: 5.734 kB / 1.089 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.423e-05/0.6667, allocations: 148.3 kB / 1.089 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 2.783e-05/0.6667, allocations: 17.34 kB / 1.089 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.212e-05/0.6667, allocations: 5.859 kB / 1.089 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005955/0.6673, allocations: 461.4 kB / 1.09 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.6673, allocations: 35.94 kB / 1.09 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.6674, allocations: 0 / 1.09 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001156/0.6675, allocations: 36.41 kB / 1.09 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.295e-05/0.6675, allocations: 52.11 kB / 1.09 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.442e-05/0.6675, allocations: 89.86 kB / 1.09 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.821e-06/0.6675, allocations: 26.64 kB / 1.09 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.006e-05/0.6675, allocations: 84.27 kB / 1.09 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.6676, allocations: 9.359 kB / 1.09 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.432e-05/0.6676, allocations: 12.61 kB / 1.09 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.099e-05/0.6677, allocations: 311.5 kB / 1.09 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.857e-06/0.6677, allocations: 5 kB / 1.09 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2e-05/0.6677, allocations: 1.156 kB / 1.09 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.352e-05/0.6677, allocations: 12.47 kB / 1.09 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.6677, allocations: 4.062 kB / 1.09 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.159e-05/0.6678, allocations: 36.02 kB / 1.09 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.6678, allocations: 6.344 kB / 1.09 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.6678, allocations: 4.453 kB / 1.09 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.6678, allocations: 0 / 1.09 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.636e-05/0.6679, allocations: 2.875 kB / 1.091 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.6679, allocations: 0 / 1.091 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.037e-05/0.6679, allocations: 1.781 kB / 1.091 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-06/0.6679, allocations: 0 / 1.091 GB, free: 2.777 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 (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 3.947e-05/0.6679, allocations: 112 kB / 1.091 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.053e-06/0.6679, allocations: 4.562 kB / 1.091 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.334e-05/0.668, allocations: 44.23 kB / 1.091 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.668, allocations: 0 / 1.091 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.668, allocations: 0 / 1.091 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.668, allocations: 1.969 kB / 1.091 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.36e-05/0.6681, allocations: 146.9 kB / 1.091 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.6681, allocations: 1.719 kB / 1.091 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.152e-05/0.6681, allocations: 5.094 kB / 1.091 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.6681, allocations: 5.766 kB / 1.091 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.6681, allocations: 7.938 kB / 1.091 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.247e-06/0.6682, allocations: 0.7969 kB / 1.091 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6682, allocations: 1.344 kB / 1.091 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.682e-05/0.6682, allocations: 60.33 kB / 1.091 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.983e-05/0.6682, allocations: 78.33 kB / 1.091 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.6683, allocations: 5.031 kB / 1.091 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.935e-06/0.6683, allocations: 0.75 kB / 1.091 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.059e-05/0.6683, allocations: 5.125 kB / 1.091 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.6683, allocations: 1.891 kB / 1.091 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.377e-05/0.6683, allocations: 75.28 kB / 1.091 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.072e-06/0.6683, allocations: 0 / 1.091 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002385/0.6686, allocations: 30.56 kB / 1.091 GB, free: 2.152 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 (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.0003924/0.669, allocations: 0.6348 MB / 1.092 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.125e-05/0.669, allocations: 8.156 kB / 1.092 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.669, allocations: 4.062 kB / 1.092 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.013e-06/0.6691, allocations: 2.156 kB / 1.092 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001311/0.6692, allocations: 4.109 kB / 1.092 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002832/0.6695, allocations: 125.3 kB / 1.092 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002471/0.6697, allocations: 0.6715 MB / 1.092 GB, free: 16.7 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.118e-05/0.6698, allocations: 0.7812 kB / 1.092 GB, free: 16.7 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.542e-05/0.6698, allocations: 8.562 kB / 1.092 GB, free: 16.69 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/0.6698, allocations: 0 / 1.092 GB, free: 16.69 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4131/1.083, allocations: 1.392 MB / 1.094 GB, free: 16.3 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.355/9.438, allocations: 9.188 kB / 1.094 GB, free: 16.3 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselY0.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches