Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Math_Functions_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY1,fileNamePrefix="Buildings_9_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.0082/0.0082, allocations: 102.8 kB / 15.73 MB, free: 6.492 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.00174/0.00174, allocations: 191.8 kB / 16.67 MB, free: 6.379 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.507/2.507, allocations: 390.3 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 65.52 kB / 0.9504 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2787, allocations: 140.4 MB / 1.088 GB, free: 2.082 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY1): time 0.001914/0.2807, allocations: 0.5726 MB / 1.088 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0006466/0.2814, allocations: 311.2 kB / 1.088 GB, free: 1.207 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.716e-05/0.2814, allocations: 0 / 1.088 GB, free: 1.207 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.466e-05/0.2814, allocations: 0 / 1.088 GB, free: 1.207 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.583e-06/0.2815, allocations: 0 / 1.088 GB, free: 1.207 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006153/0.2821, allocations: 107.6 kB / 1.088 GB, free: 1.102 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 4.232e-05/0.2822, allocations: 0 / 1.088 GB, free: 1.102 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.739e-05/0.2822, allocations: 0 / 1.088 GB, free: 1.102 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.59e-05/0.2823, allocations: 0 / 1.088 GB, free: 1.102 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.411e-05/0.2823, allocations: 4 kB / 1.088 GB, free: 1.098 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.985e-06/0.2823, allocations: 0 / 1.088 GB, free: 1.098 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003301/0.2826, allocations: 131.8 kB / 1.089 GB, free: 0.9688 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.318e-06/0.2827, allocations: 0 / 1.089 GB, free: 0.9688 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.311e-05/0.2827, allocations: 0 / 1.089 GB, free: 0.9688 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.2829, allocations: 75.81 kB / 1.089 GB, free: 0.8945 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2829, allocations: 0 / 1.089 GB, free: 0.8945 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.276e-06/0.2829, allocations: 0 / 1.089 GB, free: 0.8945 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.277e-06/0.2829, allocations: 3.938 kB / 1.089 GB, free: 0.8906 MB / 0.8419 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.0003245/0.2832, allocations: 331.6 kB / 1.089 GB, free: 0.5156 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.568e-05/0.2833, allocations: 8.031 kB / 1.089 GB, free: 0.5078 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.092e-05/0.2833, allocations: 30.75 kB / 1.089 GB, free: 480 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.388e-05/0.2834, allocations: 8.938 kB / 1.089 GB, free: 472 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.595e-05/0.2835, allocations: 164.4 kB / 1.089 GB, free: 268 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.2835, allocations: 384 / 1.089 GB, free: 268 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-06/0.2835, allocations: 4.375 kB / 1.089 GB, free: 264 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.032e-05/0.2836, allocations: 34.19 kB / 1.089 GB, free: 224 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.2836, allocations: 3.938 kB / 1.089 GB, free: 220 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.2836, allocations: 0 / 1.089 GB, free: 220 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.2836, allocations: 0 / 1.089 GB, free: 220 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.336e-05/0.2836, allocations: 7.938 kB / 1.089 GB, free: 212 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001275/0.2838, allocations: 149.7 kB / 1.089 GB, free: 12 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 5.07e-05/0.2838, allocations: 18.56 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.709e-05/0.2839, allocations: 8.953 kB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008129/0.2847, allocations: 469.5 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.2847, allocations: 30.56 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.2847, allocations: 0 / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.00014/0.2849, allocations: 41.58 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.2849, allocations: 55.39 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.104e-05/0.2849, allocations: 89.86 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.285, allocations: 29.83 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.654e-05/0.285, allocations: 80.14 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.285, allocations: 4 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.819e-05/0.2851, allocations: 13.72 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.205e-05/0.2851, allocations: 310.8 kB / 1.09 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.127e-06/0.2852, allocations: 0 / 1.09 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.883e-06/0.2852, allocations: 0 / 1.09 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.764e-05/0.2852, allocations: 12.92 kB / 1.09 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2852, allocations: 0 / 1.09 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.593e-05/0.2853, allocations: 41.62 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.2853, allocations: 8 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.2853, allocations: 3.938 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.2853, allocations: 3.938 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.974e-05/0.2854, allocations: 0 / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.2854, allocations: 0 / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.089e-05/0.2854, allocations: 4 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.2854, allocations: 0 / 1.091 GB, free: 14.64 MB / 0.8575 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 6.668e-05/0.2855, allocations: 109.9 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.744e-06/0.2855, allocations: 0 / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.264e-05/0.2856, allocations: 44.69 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.2856, allocations: 0 / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.2856, allocations: 0 / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2856, allocations: 4 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.584e-05/0.2857, allocations: 149.6 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.2857, allocations: 3.984 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.444e-05/0.2857, allocations: 0 / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.2857, allocations: 4.031 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-06/0.2857, allocations: 7.938 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.2858, allocations: 7.938 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2858, allocations: 0 / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.57e-05/0.2858, allocations: 53.14 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.702e-05/0.2859, allocations: 81.09 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.301e-05/0.2859, allocations: 7.938 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.546e-06/0.2859, allocations: 4.031 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.054e-05/0.2859, allocations: 3.938 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/0.2859, allocations: 0 / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.159e-05/0.2859, allocations: 75.28 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2859, allocations: 0 / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002204/0.2862, allocations: 24 kB / 1.091 GB, free: 13.96 MB / 0.8575 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.0004819/0.2867, allocations: 0.6386 MB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.398e-05/0.2867, allocations: 4 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.2868, allocations: 4.094 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.582e-06/0.2868, allocations: 3.938 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001801/0.287, allocations: 5.875 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003479/0.2873, allocations: 118.7 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001954/0.2875, allocations: 0.6729 MB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.287e-05/0.2875, allocations: 7.969 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.62e-05/0.2876, allocations: 7.438 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of SimCode: time 3.5e-07/0.2876, allocations: 0 / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01716/0.3047, allocations: 1.412 MB / 1.094 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.202/7.507, allocations: 5.938 kB / 1.094 GB, free: 11.08 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselY1.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches