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.009122/0.009122, allocations: 102 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.00192/0.00192, allocations: 199.7 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.768/2.768, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001263, allocations: 67.91 kB / 1.054 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3124, allocations: 157.4 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.002554/0.315, allocations: 1.432 MB / 1.209 GB, free: 8.699 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0007099/0.3158, allocations: 354.8 kB / 1.209 GB, free: 8.352 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.881e-05/0.3158, allocations: 0 / 1.209 GB, free: 8.352 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.878e-05/0.3159, allocations: 0 / 1.209 GB, free: 8.352 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.887e-05/0.3159, allocations: 11.88 kB / 1.209 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004416/0.3164, allocations: 103.7 kB / 1.209 GB, free: 8.238 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.354e-05/0.3165, allocations: 27.91 kB / 1.209 GB, free: 8.211 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.724e-05/0.3165, allocations: 4 kB / 1.209 GB, free: 8.207 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.107e-05/0.3166, allocations: 11.94 kB / 1.209 GB, free: 8.195 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.84e-05/0.3166, allocations: 11.98 kB / 1.209 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.837e-06/0.3166, allocations: 0 / 1.209 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002247/0.3169, allocations: 123.8 kB / 1.209 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.315e-05/0.3169, allocations: 8 kB / 1.209 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.566e-05/0.3169, allocations: 15.92 kB / 1.209 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.3171, allocations: 91.75 kB / 1.209 GB, free: 7.949 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3171, allocations: 4 kB / 1.209 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3172, allocations: 0 / 1.209 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.3172, allocations: 0 / 1.209 GB, free: 7.945 MB / 0.9669 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.0004763/0.3176, allocations: 351.7 kB / 1.21 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.3177, allocations: 12.62 kB / 1.21 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.864e-05/0.3177, allocations: 30.75 kB / 1.21 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.363e-05/0.3178, allocations: 0.9375 kB / 1.21 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.3179, allocations: 172.4 kB / 1.21 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.3179, allocations: 384 / 1.21 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.926e-06/0.3179, allocations: 4.359 kB / 1.21 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.3181, allocations: 54.17 kB / 1.21 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.138e-06/0.3181, allocations: 3.938 kB / 1.21 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.3181, allocations: 0 / 1.21 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.3181, allocations: 0 / 1.21 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001734/0.3183, allocations: 43.89 kB / 1.21 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003044/0.3186, allocations: 248.9 kB / 1.21 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.3188, allocations: 38.48 kB / 1.21 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.778e-05/0.3189, allocations: 24.84 kB / 1.21 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007196/0.3196, allocations: 477.5 kB / 1.211 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.3196, allocations: 30.56 kB / 1.211 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.3196, allocations: 0 / 1.211 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003606/0.32, allocations: 85.64 kB / 1.211 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.3201, allocations: 51.41 kB / 1.211 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.057e-05/0.3201, allocations: 97.84 kB / 1.211 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.3202, allocations: 29.7 kB / 1.211 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.686e-05/0.3202, allocations: 84.14 kB / 1.211 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.469e-05/0.3202, allocations: 3.906 kB / 1.211 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.404e-05/0.3203, allocations: 17.84 kB / 1.211 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.52e-05/0.3204, allocations: 322.8 kB / 1.212 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.676e-05/0.3205, allocations: 11.98 kB / 1.212 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.924e-05/0.3205, allocations: 23.98 kB / 1.212 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.3207, allocations: 40.83 kB / 1.212 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.3207, allocations: 3.938 kB / 1.212 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002033/0.3209, allocations: 65.66 kB / 1.212 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.3209, allocations: 4 kB / 1.212 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.321, allocations: 0 / 1.212 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.321, allocations: 4 kB / 1.212 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.058e-05/0.3211, allocations: 7.984 kB / 1.212 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.3211, allocations: 3.938 kB / 1.212 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.952e-05/0.3211, allocations: 12.02 kB / 1.212 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.3211, allocations: 0 / 1.212 GB, free: 5.305 MB / 0.9669 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 6.778e-05/0.3212, allocations: 117.8 kB / 1.212 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.484e-05/0.3212, allocations: 0 / 1.212 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002343/0.3215, allocations: 64.78 kB / 1.212 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.3215, allocations: 4 kB / 1.212 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3215, allocations: 0 / 1.212 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3215, allocations: 4.031 kB / 1.212 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.3217, allocations: 169.4 kB / 1.212 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3217, allocations: 0 / 1.212 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.886e-05/0.3217, allocations: 4 kB / 1.212 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.3218, allocations: 11.92 kB / 1.212 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-06/0.3218, allocations: 0 / 1.212 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3218, allocations: 0 / 1.212 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.3218, allocations: 3.938 kB / 1.212 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002335/0.322, allocations: 167.5 kB / 1.212 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.363e-05/0.3221, allocations: 77.11 kB / 1.212 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.3221, allocations: 0 / 1.212 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.58e-05/0.3222, allocations: 4 kB / 1.212 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.507e-05/0.3222, allocations: 8.172 kB / 1.212 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.3222, allocations: 4 kB / 1.212 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.74e-05/0.3223, allocations: 83.27 kB / 1.212 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3223, allocations: 4.031 kB / 1.212 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002613/0.3225, allocations: 28 kB / 1.212 GB, free: 4.469 MB / 0.9669 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.0006534/0.3232, allocations: 0.7358 MB / 1.213 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002062/0.3234, allocations: 31.97 kB / 1.213 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3234, allocations: 64 / 1.213 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.137e-05/0.3235, allocations: 27.97 kB / 1.213 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.3238, allocations: 4 kB / 1.213 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004315/0.3242, allocations: 147 kB / 1.213 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.3245, allocations: 0.6806 MB / 1.214 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.731e-05/0.3245, allocations: 4 kB / 1.214 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.619e-05/0.3245, allocations: 11.44 kB / 1.214 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of SimCode: time 2.51e-07/0.3246, allocations: 8.062 kB / 1.214 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0188/0.3434, allocations: 1.773 MB / 1.216 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.662/8.006, allocations: 11.03 kB / 1.216 GB, free: 1.016 MB / 0.9669 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