Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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.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.BesselY1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_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.006978/0.006978, allocations: 103.5 kB / 15.73 MB, free: 6.047 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.001539/0.00154, allocations: 189 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.349/1.349, 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.621/2.621, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 67.91 kB / 1.054 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9522/0.9537, allocations: 157.4 MB / 1.207 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.003541/0.9573, allocations: 1.437 MB / 1.209 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001013/0.9583, allocations: 358.8 kB / 1.209 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.632e-05/0.9584, allocations: 0 / 1.209 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.986e-05/0.9584, allocations: 3.938 kB / 1.209 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.733e-05/0.9586, allocations: 0 / 1.209 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007341/0.9593, allocations: 107.6 kB / 1.209 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.9594, allocations: 23.92 kB / 1.209 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.9596, allocations: 4 kB / 1.209 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.755e-05/0.9597, allocations: 8 kB / 1.209 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.021e-05/0.9597, allocations: 15.92 kB / 1.209 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.9597, allocations: 4 kB / 1.209 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003465/0.9601, allocations: 127.8 kB / 1.209 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.883e-05/0.9601, allocations: 4 kB / 1.209 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.881e-05/0.9602, allocations: 11.92 kB / 1.209 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002878/0.9605, allocations: 95.73 kB / 1.209 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.9605, allocations: 0 / 1.209 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.023e-06/0.9605, allocations: 0 / 1.209 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.469e-05/0.9605, allocations: 0 / 1.209 GB, free: 11.41 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.0006522/0.9612, allocations: 357.7 kB / 1.21 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/0.9612, allocations: 12.03 kB / 1.21 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.175e-05/0.9613, allocations: 30.75 kB / 1.21 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.709e-05/0.9613, allocations: 4.875 kB / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.9615, allocations: 164.4 kB / 1.21 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.9615, allocations: 384 / 1.21 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.9615, allocations: 384 / 1.21 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001957/0.9617, allocations: 50.23 kB / 1.21 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.9618, allocations: 3.938 kB / 1.21 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.9618, allocations: 0 / 1.21 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.9618, allocations: 4 kB / 1.21 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001703/0.962, allocations: 39.89 kB / 1.21 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003579/0.9623, allocations: 248.9 kB / 1.21 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.9625, allocations: 38.48 kB / 1.21 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.4e-05/0.9626, allocations: 28.91 kB / 1.21 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007724/0.9634, allocations: 469.4 kB / 1.211 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.9634, allocations: 34.56 kB / 1.211 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 2.855e-06/0.9634, allocations: 0 / 1.211 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003609/0.9638, allocations: 89.48 kB / 1.211 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.9638, allocations: 51.41 kB / 1.211 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.586e-05/0.9639, allocations: 101.8 kB / 1.211 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.9639, allocations: 25.7 kB / 1.211 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.909e-05/0.964, allocations: 88.27 kB / 1.211 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-05/0.964, allocations: 3.906 kB / 1.211 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.564e-05/0.9641, allocations: 13.72 kB / 1.211 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.9642, allocations: 318.8 kB / 1.211 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.877e-05/0.9643, allocations: 11.98 kB / 1.211 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.152e-05/0.9644, allocations: 23.98 kB / 1.212 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.9645, allocations: 40.83 kB / 1.212 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.9645, allocations: 3.938 kB / 1.212 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001981/0.9647, allocations: 65.66 kB / 1.212 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.9648, allocations: 4 kB / 1.212 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.9648, allocations: 4 kB / 1.212 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.9648, allocations: 0 / 1.212 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.806e-05/0.9649, allocations: 12.02 kB / 1.212 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.9649, allocations: 0 / 1.212 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.137e-05/0.965, allocations: 7.984 kB / 1.212 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.965, allocations: 0 / 1.212 GB, free: 8.777 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 0.0001022/0.9651, allocations: 117.8 kB / 1.212 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.112e-05/0.9651, allocations: 0 / 1.212 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002592/0.9654, allocations: 76.72 kB / 1.212 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.9654, allocations: 0 / 1.212 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.9654, allocations: 0 / 1.212 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.9654, allocations: 192 / 1.212 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002017/0.9656, allocations: 161.6 kB / 1.212 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.9657, allocations: 3.938 kB / 1.212 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.88e-05/0.9657, allocations: 11.98 kB / 1.212 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.9657, allocations: 3.984 kB / 1.212 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.9657, allocations: 0 / 1.212 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.9658, allocations: 0 / 1.212 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.9658, allocations: 0 / 1.212 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002549/0.966, allocations: 179.3 kB / 1.212 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.814e-05/0.9661, allocations: 77.11 kB / 1.212 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.9661, allocations: 0 / 1.212 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.366e-05/0.9662, allocations: 7.984 kB / 1.212 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.443e-05/0.9662, allocations: 4 kB / 1.212 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.9662, allocations: 8.031 kB / 1.212 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.677e-05/0.9663, allocations: 79.28 kB / 1.212 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9663, allocations: 0 / 1.212 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002796/0.9666, allocations: 31.98 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.0006537/0.9673, allocations: 0.728 MB / 1.213 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002085/0.9675, allocations: 39.94 kB / 1.213 GB, free: 7.133 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.9675, allocations: 0 / 1.213 GB, free: 7.133 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.172e-05/0.9676, allocations: 23.97 kB / 1.213 GB, free: 7.109 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.9678, allocations: 5.562 kB / 1.213 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004635/0.9683, allocations: 143 kB / 1.213 GB, free: 6.922 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.9686, allocations: 0.6768 MB / 1.214 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.18e-05/0.9686, allocations: 8.125 kB / 1.214 GB, free: 6.211 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.513e-05/0.9686, allocations: 15.44 kB / 1.214 GB, free: 6.195 MB / 0.9356 GB Notification: Performance of SimCode: time 2e-07/0.9686, allocations: 0 / 1.214 GB, free: 6.195 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02031/0.9889, allocations: 1.783 MB / 1.216 GB, free: 4.488 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.674/8.663, allocations: 4 kB / 1.216 GB, free: 4.484 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_BesselY1.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches