Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Math_Functions_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY1,fileNamePrefix="Buildings_10_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.004785/0.004785, allocations: 97.62 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.001265/0.001265, allocations: 202.1 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.56/2.56, allocations: 437.1 MB / 0.7106 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001775/0.001775, allocations: 67.89 kB / 1.018 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2807, allocations: 151.6 MB / 1.166 GB, free: 7.223 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY1): time 0.001994/0.2827, allocations: 0.5787 MB / 1.167 GB, free: 6.641 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0006439/0.2834, allocations: 303.3 kB / 1.167 GB, free: 6.344 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.211e-05/0.2834, allocations: 7.938 kB / 1.167 GB, free: 6.336 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.491e-05/0.2835, allocations: 0 / 1.167 GB, free: 6.336 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.45e-06/0.2835, allocations: 0 / 1.167 GB, free: 6.336 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004912/0.284, allocations: 95.72 kB / 1.167 GB, free: 6.242 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 3.714e-05/0.284, allocations: 4 kB / 1.167 GB, free: 6.238 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.068e-05/0.2841, allocations: 3.984 kB / 1.167 GB, free: 6.234 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.2e-05/0.2841, allocations: 3.938 kB / 1.167 GB, free: 6.23 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 1.719e-05/0.2841, allocations: 0 / 1.167 GB, free: 6.23 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.282e-06/0.2841, allocations: 0 / 1.167 GB, free: 6.23 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002686/0.2844, allocations: 127.8 kB / 1.167 GB, free: 6.105 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.143e-06/0.2844, allocations: 7.938 kB / 1.167 GB, free: 6.098 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.481e-05/0.2844, allocations: 4 kB / 1.167 GB, free: 6.094 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000167/0.2846, allocations: 72.09 kB / 1.167 GB, free: 6.023 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2846, allocations: 0 / 1.167 GB, free: 6.023 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2846, allocations: 0 / 1.167 GB, free: 6.023 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.2846, allocations: 0 / 1.167 GB, free: 6.023 MB / 0.92 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.0003422/0.285, allocations: 327.4 kB / 1.168 GB, free: 5.652 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.285, allocations: 15.97 kB / 1.168 GB, free: 5.637 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.458e-05/0.2851, allocations: 30.75 kB / 1.168 GB, free: 5.598 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.882e-05/0.2851, allocations: 0.9375 kB / 1.168 GB, free: 5.598 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.2852, allocations: 168.4 kB / 1.168 GB, free: 5.395 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.2852, allocations: 4.375 kB / 1.168 GB, free: 5.391 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.571e-06/0.2852, allocations: 384 / 1.168 GB, free: 5.391 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.394e-05/0.2853, allocations: 34.25 kB / 1.168 GB, free: 5.352 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.2853, allocations: 3.938 kB / 1.168 GB, free: 5.348 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.5e-06/0.2853, allocations: 0 / 1.168 GB, free: 5.348 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.2854, allocations: 0 / 1.168 GB, free: 5.348 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.618e-05/0.2854, allocations: 0 / 1.168 GB, free: 5.348 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001549/0.2855, allocations: 149.7 kB / 1.168 GB, free: 5.152 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 4.035e-05/0.2856, allocations: 26.52 kB / 1.168 GB, free: 5.117 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.557e-05/0.2856, allocations: 4.859 kB / 1.168 GB, free: 5.109 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008214/0.2864, allocations: 473.5 kB / 1.169 GB, free: 4.555 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.2865, allocations: 30.56 kB / 1.169 GB, free: 4.516 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 4.047e-06/0.2865, allocations: 0 / 1.169 GB, free: 4.516 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.000132/0.2866, allocations: 49.47 kB / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.2867, allocations: 51.41 kB / 1.169 GB, free: 4.398 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.378e-05/0.2867, allocations: 93.86 kB / 1.169 GB, free: 4.297 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.2867, allocations: 25.7 kB / 1.169 GB, free: 4.266 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.163e-05/0.2868, allocations: 84.27 kB / 1.169 GB, free: 4.18 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.347e-05/0.2868, allocations: 0 / 1.169 GB, free: 4.18 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.621e-05/0.2868, allocations: 9.719 kB / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.287, allocations: 318.8 kB / 1.169 GB, free: 3.844 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.488e-06/0.287, allocations: 7.938 kB / 1.169 GB, free: 3.836 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.4e-06/0.287, allocations: 0 / 1.169 GB, free: 3.836 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.641e-05/0.2871, allocations: 8.859 kB / 1.169 GB, free: 3.824 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.2871, allocations: 0 / 1.169 GB, free: 3.824 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.947e-05/0.2871, allocations: 37.7 kB / 1.169 GB, free: 3.781 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.2871, allocations: 4 kB / 1.169 GB, free: 3.777 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.2872, allocations: 3.938 kB / 1.169 GB, free: 3.773 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.2872, allocations: 4 kB / 1.169 GB, free: 3.77 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.885e-05/0.2872, allocations: 3.984 kB / 1.169 GB, free: 3.766 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.2872, allocations: 0 / 1.169 GB, free: 3.766 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.152e-05/0.2872, allocations: 0 / 1.169 GB, free: 3.766 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.2873, allocations: 0 / 1.169 GB, free: 3.766 MB / 0.92 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.048e-05/0.2873, allocations: 117.9 kB / 1.169 GB, free: 3.641 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.743e-06/0.2874, allocations: 0 / 1.169 GB, free: 3.641 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.717e-05/0.2874, allocations: 36.77 kB / 1.169 GB, free: 3.598 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.2874, allocations: 3.984 kB / 1.169 GB, free: 3.594 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.2875, allocations: 0 / 1.169 GB, free: 3.594 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.2875, allocations: 0 / 1.169 GB, free: 3.594 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.2876, allocations: 141.7 kB / 1.17 GB, free: 3.406 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.2876, allocations: 4 kB / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.272e-05/0.2876, allocations: 3.938 kB / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.2876, allocations: 0 / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.2876, allocations: 7.969 kB / 1.17 GB, free: 3.391 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2876, allocations: 0 / 1.17 GB, free: 3.391 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2876, allocations: 0 / 1.17 GB, free: 3.391 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.539e-05/0.2877, allocations: 61.12 kB / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.031e-05/0.2878, allocations: 77.11 kB / 1.17 GB, free: 3.219 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.2878, allocations: 3.938 kB / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.284e-05/0.2878, allocations: 7.938 kB / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.1e-05/0.2878, allocations: 4 kB / 1.17 GB, free: 3.203 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.2878, allocations: 4.031 kB / 1.17 GB, free: 3.199 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.635e-05/0.2879, allocations: 79.27 kB / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2879, allocations: 0 / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000225/0.2881, allocations: 27.94 kB / 1.17 GB, free: 3.094 MB / 0.92 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.0005865/0.2887, allocations: 0.6396 MB / 1.17 GB, free: 2.422 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 6.962e-05/0.2888, allocations: 4 kB / 1.17 GB, free: 2.418 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.2888, allocations: 0 / 1.17 GB, free: 2.418 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 6.703e-06/0.2888, allocations: 8.062 kB / 1.17 GB, free: 2.41 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001237/0.2889, allocations: 0 / 1.17 GB, free: 2.41 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003176/0.2893, allocations: 126.4 kB / 1.171 GB, free: 2.246 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.2896, allocations: 0.6729 MB / 1.171 GB, free: 1.547 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 1.1e-05/0.2896, allocations: 0 / 1.171 GB, free: 1.547 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.653e-05/0.2897, allocations: 7.438 kB / 1.171 GB, free: 1.539 MB / 0.92 GB Notification: Performance of SimCode: time 2e-07/0.2897, allocations: 0 / 1.171 GB, free: 1.539 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.381/0.6706, allocations: 1.415 MB / 1.173 GB, free: 216 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.19/10.86, allocations: 14 kB / 1.173 GB, free: 204 kB / 0.92 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_BesselY1.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches