Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.BesselY1,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY1,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_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.007837/0.007837, allocations: 100.7 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.001924/0.001925, allocations: 192.8 kB / 16.67 MB, free: 5.969 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.612/1.612, 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.1.0-maint.11.x/package.mo): time 2.783/2.783, allocations: 469.8 MB / 0.7425 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 71.89 kB / 1.065 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8468/0.8487, allocations: 159.1 MB / 1.22 GB, free: 2.004 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY1): time 0.001761/0.8505, allocations: 0.5681 MB / 1.221 GB, free: 1.438 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0006628/0.8512, allocations: 304.9 kB / 1.221 GB, free: 1.141 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.315e-05/0.8513, allocations: 4 kB / 1.221 GB, free: 1.137 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.636e-05/0.8513, allocations: 3.938 kB / 1.221 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.082e-06/0.8513, allocations: 0 / 1.221 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004757/0.8518, allocations: 103.6 kB / 1.221 GB, free: 1.031 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 3.594e-05/0.8518, allocations: 0 / 1.221 GB, free: 1.031 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.325e-05/0.8519, allocations: 8 kB / 1.221 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.481e-05/0.8519, allocations: 0 / 1.221 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 1.677e-05/0.8519, allocations: 0 / 1.221 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.121e-06/0.8519, allocations: 0 / 1.221 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002798/0.8522, allocations: 127.8 kB / 1.221 GB, free: 0.8984 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.376e-06/0.8522, allocations: 3.938 kB / 1.221 GB, free: 0.8945 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.701e-05/0.8523, allocations: 0 / 1.221 GB, free: 0.8945 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001735/0.8524, allocations: 74.55 kB / 1.221 GB, free: 0.8242 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.8524, allocations: 0 / 1.221 GB, free: 0.8242 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.383e-06/0.8525, allocations: 3.938 kB / 1.221 GB, free: 0.8203 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.8525, allocations: 0 / 1.221 GB, free: 0.8203 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.0003393/0.8528, allocations: 332.4 kB / 1.222 GB, free: 456 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.8529, allocations: 8.031 kB / 1.222 GB, free: 448 kB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.481e-05/0.8529, allocations: 34.75 kB / 1.222 GB, free: 404 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.624e-05/0.853, allocations: 4.938 kB / 1.222 GB, free: 400 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.8531, allocations: 172.3 kB / 1.222 GB, free: 188 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.8531, allocations: 4.375 kB / 1.222 GB, free: 184 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.75e-06/0.8531, allocations: 384 / 1.222 GB, free: 184 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.891e-05/0.8532, allocations: 30.2 kB / 1.222 GB, free: 148 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.8532, allocations: 7.938 kB / 1.222 GB, free: 140 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.8532, allocations: 4 kB / 1.222 GB, free: 136 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.8532, allocations: 0 / 1.222 GB, free: 136 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.745e-05/0.8533, allocations: 0 / 1.222 GB, free: 136 kB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001692/0.8534, allocations: 145.7 kB / 1.222 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 4.114e-05/0.8535, allocations: 22.59 kB / 1.222 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.546e-05/0.8535, allocations: 4.859 kB / 1.222 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008559/0.8544, allocations: 473.5 kB / 1.223 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.8544, allocations: 34.5 kB / 1.223 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.8544, allocations: 0 / 1.223 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0001235/0.8545, allocations: 37.64 kB / 1.223 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/0.8546, allocations: 51.41 kB / 1.223 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.827e-05/0.8547, allocations: 93.84 kB / 1.223 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.8547, allocations: 25.7 kB / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.25e-05/0.8547, allocations: 80.14 kB / 1.223 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/0.8548, allocations: 7.938 kB / 1.223 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.133e-05/0.8548, allocations: 13.72 kB / 1.223 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.8549, allocations: 310.8 kB / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.506e-06/0.8549, allocations: 4.125 kB / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.039e-06/0.855, allocations: 4 kB / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.397e-05/0.855, allocations: 8.797 kB / 1.223 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.855, allocations: 4 kB / 1.223 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.243e-05/0.8551, allocations: 33.69 kB / 1.223 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.8551, allocations: 4 kB / 1.223 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.8551, allocations: 3.938 kB / 1.223 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.8551, allocations: 0 / 1.223 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.812e-05/0.8551, allocations: 8.094 kB / 1.223 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.8552, allocations: 0 / 1.223 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.347e-05/0.8552, allocations: 4 kB / 1.223 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.8552, allocations: 0 / 1.223 GB, free: 14.56 MB / 0.9512 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 8.119e-05/0.8553, allocations: 108.5 kB / 1.223 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.295e-05/0.8553, allocations: 4 kB / 1.223 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.323e-05/0.8554, allocations: 52.56 kB / 1.223 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.8554, allocations: 0 / 1.223 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.8554, allocations: 0 / 1.223 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.8554, allocations: 4.031 kB / 1.223 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/0.8555, allocations: 145.7 kB / 1.224 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.8556, allocations: 0 / 1.224 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.517e-05/0.8556, allocations: 7.984 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.8556, allocations: 0 / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.395e-06/0.8556, allocations: 3.938 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.8556, allocations: 0 / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.8556, allocations: 4 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.238e-05/0.8557, allocations: 61.08 kB / 1.224 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.8558, allocations: 77.11 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.8558, allocations: 7.922 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.026e-05/0.8558, allocations: 4 kB / 1.224 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.044e-05/0.8558, allocations: 0 / 1.224 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-06/0.8558, allocations: 0 / 1.224 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.532e-05/0.8559, allocations: 79.28 kB / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8559, allocations: 0 / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002167/0.8561, allocations: 23.94 kB / 1.224 GB, free: 13.89 MB / 0.9512 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.0005772/0.8567, allocations: 0.6325 MB / 1.224 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 6.938e-05/0.8568, allocations: 7.938 kB / 1.224 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.8568, allocations: 0 / 1.224 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 8.466e-06/0.8568, allocations: 4 kB / 1.224 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001429/0.8569, allocations: 0 / 1.224 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003097/0.8573, allocations: 122.5 kB / 1.225 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.8576, allocations: 0.6729 MB / 1.225 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.287e-05/0.8576, allocations: 7.984 kB / 1.225 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.108e-05/0.8576, allocations: 15.42 kB / 1.225 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of SimCode: time 2.2e-07/0.8576, allocations: 0 / 1.225 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0226/0.8802, allocations: 1.415 MB / 1.227 GB, free: 11 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.131/9.012, allocations: 6.5 kB / 1.227 GB, free: 11 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY1.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.csv --start-time 0.1 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01196 Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselY1.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches