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.007444/0.007444, allocations: 101.6 kB / 15.73 MB, free: 6.062 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.001661/0.001661, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.359/1.359, 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 9.1.3-maint.9.1.x/package.mo): time 2.325/2.325, allocations: 390.3 MB / 0.6648 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 63.91 kB / 0.9504 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7581/0.7596, allocations: 140.4 MB / 1.088 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001433/0.761, allocations: 0.5749 MB / 1.088 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005004/0.7615, allocations: 294.8 kB / 1.088 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.127e-05/0.7616, allocations: 0 / 1.088 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.011e-05/0.7616, allocations: 0 / 1.088 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.29e-06/0.7616, allocations: 1.125 kB / 1.088 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004028/0.762, allocations: 98.64 kB / 1.088 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 3.153e-05/0.762, allocations: 5.969 kB / 1.088 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.139e-05/0.7621, allocations: 1.859 kB / 1.088 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.238e-05/0.7621, allocations: 3.984 kB / 1.088 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 1.691e-05/0.7621, allocations: 2.016 kB / 1.088 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.541e-06/0.7621, allocations: 0 / 1.088 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002173/0.7624, allocations: 114 kB / 1.089 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.085e-06/0.7624, allocations: 7.984 kB / 1.089 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.714e-05/0.7624, allocations: 3.938 kB / 1.089 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001432/0.7625, allocations: 71.45 kB / 1.089 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.7625, allocations: 0 / 1.089 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.122e-06/0.7626, allocations: 0 / 1.089 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.7626, allocations: 4 kB / 1.089 GB, free: 4.59 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.0002251/0.7628, allocations: 324 kB / 1.089 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.7628, allocations: 10.38 kB / 1.089 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.871e-05/0.7629, allocations: 31.45 kB / 1.089 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.734e-05/0.7629, allocations: 0.9375 kB / 1.089 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.283e-05/0.7629, allocations: 163.1 kB / 1.089 GB, free: 4 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.7629, allocations: 4.359 kB / 1.089 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.66e-06/0.7629, allocations: 384 / 1.089 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.958e-05/0.763, allocations: 34.31 kB / 1.089 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.191e-06/0.763, allocations: 7.875 kB / 1.089 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.021e-06/0.763, allocations: 4 kB / 1.089 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.196e-06/0.7631, allocations: 3.938 kB / 1.089 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.615e-05/0.7631, allocations: 1.859 kB / 1.089 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.576e-05/0.7632, allocations: 144.5 kB / 1.089 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 2.533e-05/0.7632, allocations: 18.2 kB / 1.089 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.04e-05/0.7632, allocations: 4.859 kB / 1.089 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005699/0.7638, allocations: 461.3 kB / 1.09 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.533e-05/0.7638, allocations: 32.23 kB / 1.09 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.7638, allocations: 3.938 kB / 1.09 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001045/0.7639, allocations: 40.86 kB / 1.09 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.749e-05/0.7639, allocations: 56.02 kB / 1.09 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.302e-05/0.764, allocations: 89.86 kB / 1.09 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.214e-06/0.764, allocations: 26.89 kB / 1.09 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.956e-06/0.764, allocations: 84.08 kB / 1.09 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/0.764, allocations: 0.6094 kB / 1.09 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.151e-05/0.764, allocations: 12.77 kB / 1.09 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.723e-05/0.7641, allocations: 312.8 kB / 1.09 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.256e-06/0.7641, allocations: 4 kB / 1.09 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.879e-06/0.7641, allocations: 1.094 kB / 1.09 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.112e-05/0.7641, allocations: 16.97 kB / 1.09 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.7641, allocations: 0 / 1.09 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.961e-05/0.7642, allocations: 31.72 kB / 1.09 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.7642, allocations: 6.672 kB / 1.09 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.7642, allocations: 3.938 kB / 1.09 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.7642, allocations: 0 / 1.09 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.679e-05/0.7643, allocations: 3.203 kB / 1.091 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.7643, allocations: 4.094 kB / 1.091 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.03e-05/0.7643, allocations: 5.281 kB / 1.091 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.7643, allocations: 0.7031 kB / 1.091 GB, free: 2.496 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 4.25e-05/0.7643, allocations: 107.6 kB / 1.091 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.715e-06/0.7644, allocations: 5.125 kB / 1.091 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.413e-05/0.7644, allocations: 46.98 kB / 1.091 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.7644, allocations: 0.7031 kB / 1.091 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.7644, allocations: 0 / 1.091 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.7645, allocations: 5.062 kB / 1.091 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.911e-05/0.7645, allocations: 144.5 kB / 1.091 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.7645, allocations: 0.7969 kB / 1.091 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.112e-05/0.7645, allocations: 1.219 kB / 1.091 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.7645, allocations: 1.125 kB / 1.091 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.7645, allocations: 4.453 kB / 1.091 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.7645, allocations: 1.281 kB / 1.091 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.7646, allocations: 0.5156 kB / 1.091 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.393e-05/0.7646, allocations: 65.14 kB / 1.091 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.328e-05/0.7646, allocations: 82.27 kB / 1.091 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.045e-06/0.7646, allocations: 5.031 kB / 1.091 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.593e-06/0.7646, allocations: 0 / 1.091 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.716e-06/0.7647, allocations: 1.641 kB / 1.091 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-06/0.7647, allocations: 0.6562 kB / 1.091 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.119e-05/0.7647, allocations: 76.44 kB / 1.091 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7647, allocations: 3.938 kB / 1.091 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002117/0.7649, allocations: 26.81 kB / 1.091 GB, free: 1.879 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.0004181/0.7653, allocations: 0.6377 MB / 1.092 GB, free: 17.27 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 6.062e-05/0.7654, allocations: 15.5 kB / 1.092 GB, free: 17.25 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.7654, allocations: 1.594 kB / 1.092 GB, free: 17.25 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 6.923e-06/0.7654, allocations: 1.781 kB / 1.092 GB, free: 17.25 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001217/0.7655, allocations: 1.797 kB / 1.092 GB, free: 17.25 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002489/0.7658, allocations: 113.8 kB / 1.092 GB, free: 17.12 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001922/0.766, allocations: 0.6713 MB / 1.092 GB, free: 16.43 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.03e-05/0.766, allocations: 4.734 kB / 1.092 GB, free: 16.42 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.119e-05/0.766, allocations: 8.406 kB / 1.092 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of SimCode: time 2e-07/0.766, allocations: 0 / 1.092 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0161/0.7821, allocations: 1.395 MB / 1.094 GB, free: 16.03 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.303/8.085, allocations: 3.812 kB / 1.094 GB, free: 16.03 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