Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.Functions.Examples.BesselY1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY1,fileNamePrefix="Buildings_latest_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.004767/0.004767, allocations: 102 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.001076/0.001076, allocations: 195 kB / 16.68 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.41/1.41, 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.779/2.779, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 68.05 kB / 1.054 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3441, allocations: 157.4 MB / 1.207 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY1): time 0.001745/0.3459, allocations: 0.582 MB / 1.208 GB, free: 9.547 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0006551/0.3465, allocations: 306.9 kB / 1.208 GB, free: 9.246 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.506e-05/0.3466, allocations: 0 / 1.208 GB, free: 9.246 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.227e-05/0.3466, allocations: 3.938 kB / 1.208 GB, free: 9.242 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.124e-06/0.3467, allocations: 0 / 1.208 GB, free: 9.242 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005207/0.3472, allocations: 99.72 kB / 1.208 GB, free: 9.145 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.327e-05/0.3472, allocations: 0 / 1.208 GB, free: 9.145 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.613e-05/0.3473, allocations: 4 kB / 1.208 GB, free: 9.141 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.412e-05/0.3473, allocations: 0 / 1.208 GB, free: 9.141 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.137e-05/0.3473, allocations: 0 / 1.208 GB, free: 9.141 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.684e-06/0.3473, allocations: 0 / 1.208 GB, free: 9.141 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002937/0.3476, allocations: 131.7 kB / 1.208 GB, free: 9.012 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.756e-06/0.3477, allocations: 4 kB / 1.208 GB, free: 9.008 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.011e-05/0.3477, allocations: 0 / 1.208 GB, free: 9.008 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.3479, allocations: 71.88 kB / 1.208 GB, free: 8.938 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.3479, allocations: 4 kB / 1.208 GB, free: 8.934 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3479, allocations: 0 / 1.208 GB, free: 8.934 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.242e-05/0.3479, allocations: 0 / 1.208 GB, free: 8.934 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003651/0.3483, allocations: 331.5 kB / 1.209 GB, free: 8.559 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.3483, allocations: 8.625 kB / 1.209 GB, free: 8.551 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.714e-05/0.3484, allocations: 38.73 kB / 1.209 GB, free: 8.504 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.431e-05/0.3484, allocations: 4.938 kB / 1.209 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.3485, allocations: 160.4 kB / 1.209 GB, free: 8.305 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.3485, allocations: 8.312 kB / 1.209 GB, free: 8.297 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.347e-06/0.3486, allocations: 384 / 1.209 GB, free: 8.297 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.61e-05/0.3487, allocations: 26.27 kB / 1.209 GB, free: 8.266 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.3487, allocations: 7.875 kB / 1.209 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.864e-06/0.3487, allocations: 0 / 1.209 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.3487, allocations: 0 / 1.209 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.342e-05/0.3487, allocations: 4 kB / 1.209 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001501/0.3489, allocations: 153.7 kB / 1.209 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.067e-05/0.3489, allocations: 22.55 kB / 1.209 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.569e-05/0.349, allocations: 4.859 kB / 1.209 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008961/0.3499, allocations: 469.5 kB / 1.21 GB, free: 7.465 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.3499, allocations: 34.56 kB / 1.21 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.183e-06/0.3499, allocations: 0 / 1.21 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001545/0.3501, allocations: 37.62 kB / 1.21 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.3501, allocations: 51.41 kB / 1.21 GB, free: 7.316 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.043e-05/0.3502, allocations: 89.86 kB / 1.21 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.3502, allocations: 25.83 kB / 1.21 GB, free: 7.188 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.63e-05/0.3502, allocations: 88.12 kB / 1.21 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.438e-05/0.3503, allocations: 7.906 kB / 1.21 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-05/0.3503, allocations: 13.72 kB / 1.21 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.3504, allocations: 314.8 kB / 1.21 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.141e-05/0.3504, allocations: 0 / 1.21 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.446e-06/0.3504, allocations: 4 kB / 1.21 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.752e-05/0.3505, allocations: 4.859 kB / 1.21 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.3505, allocations: 8.047 kB / 1.21 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.132e-05/0.3505, allocations: 37.7 kB / 1.21 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.3506, allocations: 4 kB / 1.21 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.3506, allocations: 3.938 kB / 1.21 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.3506, allocations: 0 / 1.21 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.307e-05/0.3506, allocations: 4 kB / 1.21 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.3507, allocations: 3.984 kB / 1.21 GB, free: 6.676 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.119e-05/0.3507, allocations: 7.875 kB / 1.21 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.3507, allocations: 0 / 1.21 GB, free: 6.668 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 (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 7.653e-05/0.3508, allocations: 109.9 kB / 1.21 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.003e-05/0.3508, allocations: 3.984 kB / 1.21 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.691e-05/0.3509, allocations: 36.77 kB / 1.211 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.3509, allocations: 7.984 kB / 1.211 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.3509, allocations: 0 / 1.211 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3509, allocations: 0 / 1.211 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001051/0.351, allocations: 149.7 kB / 1.211 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.351, allocations: 0 / 1.211 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.667e-05/0.351, allocations: 8 kB / 1.211 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.351, allocations: 4.031 kB / 1.211 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.3511, allocations: 3.938 kB / 1.211 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3511, allocations: 0 / 1.211 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3511, allocations: 3.938 kB / 1.211 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.178e-05/0.3511, allocations: 61.06 kB / 1.211 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.157e-05/0.3512, allocations: 81.11 kB / 1.211 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.3512, allocations: 3.938 kB / 1.211 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.303e-06/0.3512, allocations: 0 / 1.211 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.488e-05/0.3512, allocations: 4.031 kB / 1.211 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-06/0.3513, allocations: 0 / 1.211 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 2.886e-05/0.3513, allocations: 75.28 kB / 1.211 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3513, allocations: 0 / 1.211 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002526/0.3515, allocations: 28 kB / 1.211 GB, free: 6 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 (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.0004963/0.352, allocations: 0.6361 MB / 1.212 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 6.71e-05/0.3521, allocations: 4 kB / 1.212 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3521, allocations: 4.062 kB / 1.212 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.134e-06/0.3521, allocations: 3.984 kB / 1.212 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001258/0.3523, allocations: 4 kB / 1.212 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003233/0.3526, allocations: 122.6 kB / 1.212 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002222/0.3528, allocations: 0.6729 MB / 1.212 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.219e-05/0.3529, allocations: 0 / 1.212 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.334e-05/0.3529, allocations: 11.38 kB / 1.212 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of SimCode: time 3.41e-07/0.3529, allocations: 0 / 1.212 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01822/0.3711, allocations: 1.411 MB / 1.214 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.797/8.168, allocations: 12.34 kB / 1.214 GB, free: 3.117 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselY1.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches