Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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.Examples.BesselY0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_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.006327/0.006327, allocations: 102.8 kB / 15.73 MB, free: 6.035 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.001157/0.001157, allocations: 196.3 kB / 16.68 MB, free: 5.957 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.435/1.435, 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 11.0.1-master/package.mo): time 2.677/2.677, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 63.89 kB / 1.054 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8774/0.8788, allocations: 157.4 MB / 1.207 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.003145/0.882, allocations: 1.43 MB / 1.209 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0007951/0.8828, allocations: 346.8 kB / 1.209 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.916e-05/0.8829, allocations: 0 / 1.209 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.709e-05/0.8829, allocations: 3.938 kB / 1.209 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.693e-05/0.883, allocations: 3.938 kB / 1.209 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005296/0.8835, allocations: 103.7 kB / 1.209 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.936e-05/0.8836, allocations: 23.94 kB / 1.209 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.8837, allocations: 11.97 kB / 1.209 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.449e-05/0.8838, allocations: 4 kB / 1.209 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.407e-05/0.8838, allocations: 11.92 kB / 1.209 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.8839, allocations: 4 kB / 1.209 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002503/0.8841, allocations: 119.8 kB / 1.209 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.15e-05/0.8841, allocations: 0 / 1.209 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.975e-05/0.8842, allocations: 15.92 kB / 1.209 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000225/0.8844, allocations: 83.81 kB / 1.209 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.8844, allocations: 4 kB / 1.209 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.383e-06/0.8844, allocations: 3.938 kB / 1.209 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.8844, allocations: 0 / 1.209 GB, free: 11.4 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005171/0.885, allocations: 353.7 kB / 1.21 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.885, allocations: 8.031 kB / 1.21 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.058e-05/0.8851, allocations: 38.69 kB / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.332e-05/0.8851, allocations: 0.9375 kB / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.8853, allocations: 164.4 kB / 1.21 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.8853, allocations: 4.375 kB / 1.21 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.8853, allocations: 12.36 kB / 1.21 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.8856, allocations: 50.23 kB / 1.21 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.8856, allocations: 3.938 kB / 1.21 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.8856, allocations: 0 / 1.21 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.8856, allocations: 0 / 1.21 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001714/0.8858, allocations: 31.97 kB / 1.21 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004575/0.8862, allocations: 264.8 kB / 1.21 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/0.8864, allocations: 38.5 kB / 1.21 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.217e-05/0.8865, allocations: 16.91 kB / 1.21 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008956/0.8874, allocations: 461.5 kB / 1.211 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/0.8875, allocations: 34.56 kB / 1.211 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.392e-06/0.8875, allocations: 0 / 1.211 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0004077/0.8879, allocations: 81.58 kB / 1.211 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.13e-05/0.8879, allocations: 59.53 kB / 1.211 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.574e-05/0.888, allocations: 105.8 kB / 1.211 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.8881, allocations: 25.7 kB / 1.211 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.179e-05/0.8881, allocations: 80.14 kB / 1.211 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.8882, allocations: 7.891 kB / 1.211 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.165e-05/0.8882, allocations: 17.72 kB / 1.211 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.8884, allocations: 310.8 kB / 1.211 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.012e-05/0.8885, allocations: 27.97 kB / 1.211 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.77e-05/0.8886, allocations: 11.98 kB / 1.211 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.8887, allocations: 36.83 kB / 1.212 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.708e-06/0.8887, allocations: 3.938 kB / 1.212 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002061/0.8889, allocations: 65.69 kB / 1.212 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.889, allocations: 12 kB / 1.212 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.889, allocations: 0 / 1.212 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.889, allocations: 0 / 1.212 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.984e-05/0.8891, allocations: 7.984 kB / 1.212 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.8891, allocations: 4 kB / 1.212 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.742e-05/0.8892, allocations: 4 kB / 1.212 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.537e-06/0.8892, allocations: 7.984 kB / 1.212 GB, free: 8.773 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 (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 9.266e-05/0.8893, allocations: 109.8 kB / 1.212 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.797e-05/0.8893, allocations: 4 kB / 1.212 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002523/0.8896, allocations: 80.66 kB / 1.212 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.8896, allocations: 0 / 1.212 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.8896, allocations: 0 / 1.212 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.8896, allocations: 0 / 1.212 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002099/0.8898, allocations: 161.6 kB / 1.212 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.8898, allocations: 0 / 1.212 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.562e-05/0.8899, allocations: 8 kB / 1.212 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.8899, allocations: 4.031 kB / 1.212 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.8899, allocations: 0 / 1.212 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.8899, allocations: 0 / 1.212 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.89, allocations: 3.984 kB / 1.212 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000257/0.8902, allocations: 159.4 kB / 1.212 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.755e-05/0.8903, allocations: 85.09 kB / 1.212 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.8903, allocations: 8.031 kB / 1.212 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.613e-05/0.8904, allocations: 8 kB / 1.212 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.37e-05/0.8904, allocations: 8.109 kB / 1.212 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.8904, allocations: 3.938 kB / 1.212 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.642e-05/0.8905, allocations: 83.27 kB / 1.212 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8905, allocations: 0 / 1.212 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002784/0.8908, allocations: 32 kB / 1.212 GB, free: 7.93 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 (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.0007683/0.8916, allocations: 0.7281 MB / 1.213 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002419/0.8918, allocations: 43.89 kB / 1.213 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.8918, allocations: 0 / 1.213 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.135e-05/0.8919, allocations: 11.98 kB / 1.213 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.8922, allocations: 8 kB / 1.213 GB, free: 7.109 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005554/0.8928, allocations: 151.2 kB / 1.213 GB, free: 6.918 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.8931, allocations: 0.6768 MB / 1.214 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.581e-05/0.8931, allocations: 0 / 1.214 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.925e-05/0.8932, allocations: 11.44 kB / 1.214 GB, free: 6.203 MB / 0.9356 GB Notification: Performance of SimCode: time 8.42e-07/0.8932, allocations: 0 / 1.214 GB, free: 6.203 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02015/0.9134, allocations: 1.764 MB / 1.216 GB, free: 4.512 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.558/8.471, allocations: 10.33 kB / 1.216 GB, free: 4.504 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_BesselY0.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches