Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Examples.BesselY1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY1,fileNamePrefix="Buildings_9_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.0101/0.0101, allocations: 100.5 kB / 15.73 MB, free: 6.453 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.001923/0.001923, allocations: 184.9 kB / 16.67 MB, free: 6.367 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.43/2.43, allocations: 390.3 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 60.69 kB / 0.9504 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2852, allocations: 140.4 MB / 1.087 GB, free: 1.949 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.002392/0.2877, allocations: 1.427 MB / 1.089 GB, free: 0.5117 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0006602/0.2884, allocations: 363.7 kB / 1.089 GB, free: 156 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.092e-05/0.2884, allocations: 0 / 1.089 GB, free: 156 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.455e-05/0.2885, allocations: 3.938 kB / 1.089 GB, free: 152 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.89e-05/0.2885, allocations: 3.938 kB / 1.089 GB, free: 148 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004536/0.289, allocations: 103.7 kB / 1.089 GB, free: 44 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.748e-05/0.289, allocations: 23.92 kB / 1.089 GB, free: 20 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 7.871e-05/0.2891, allocations: 4 kB / 1.089 GB, free: 16 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.961e-05/0.2892, allocations: 15.94 kB / 1.089 GB, free: 0 / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.995e-05/0.2892, allocations: 11.97 kB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.017e-05/0.2893, allocations: 4 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002124/0.2895, allocations: 119.8 kB / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.436e-05/0.2895, allocations: 19.86 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.212e-05/0.2895, allocations: 7.984 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001969/0.2897, allocations: 87.75 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2897, allocations: 0 / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2897, allocations: 0 / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.2898, allocations: 4 kB / 1.09 GB, free: 15.75 MB / 0.8575 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.0004354/0.2902, allocations: 350.4 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.2902, allocations: 12.03 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.981e-05/0.2903, allocations: 34.73 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.44e-05/0.2903, allocations: 4.844 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.2904, allocations: 164.4 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.2904, allocations: 384 / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.733e-06/0.2905, allocations: 4.312 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.2906, allocations: 50.23 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.2907, allocations: 7.938 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.585e-06/0.2907, allocations: 0 / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.2907, allocations: 0 / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001708/0.2909, allocations: 43.88 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002957/0.2912, allocations: 245 kB / 1.09 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.2913, allocations: 38.5 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.875e-05/0.2914, allocations: 26.31 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007475/0.2921, allocations: 473.5 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.2922, allocations: 30.56 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.2922, allocations: 3.938 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.000359/0.2926, allocations: 85.55 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.2926, allocations: 51.41 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.785e-05/0.2927, allocations: 102 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.2927, allocations: 25.7 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.772e-05/0.2927, allocations: 88.14 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-05/0.2928, allocations: 4.75 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.441e-05/0.2928, allocations: 13.72 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.612e-05/0.2929, allocations: 314.8 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.505e-05/0.293, allocations: 15.97 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.742e-05/0.2931, allocations: 23.98 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.2932, allocations: 40.77 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.2932, allocations: 3.938 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001975/0.2934, allocations: 65.66 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.2935, allocations: 4 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-06/0.2935, allocations: 4.094 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.2935, allocations: 0 / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.201e-05/0.2936, allocations: 11.98 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.2936, allocations: 0 / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.673e-05/0.2936, allocations: 11.88 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.2937, allocations: 3.984 kB / 1.092 GB, free: 13.12 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 (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.532e-05/0.2937, allocations: 117.8 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.2938, allocations: 0 / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002265/0.294, allocations: 72.72 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.294, allocations: 0 / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.294, allocations: 7.938 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.294, allocations: 0 / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.2942, allocations: 165.6 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.2942, allocations: 0 / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.667e-05/0.2943, allocations: 4 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.2943, allocations: 0 / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.2943, allocations: 8.031 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2943, allocations: 0 / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.2943, allocations: 3.984 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/0.2945, allocations: 167.4 kB / 1.092 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.34e-05/0.2946, allocations: 85 kB / 1.092 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.075e-05/0.2946, allocations: 0 / 1.092 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.733e-05/0.2947, allocations: 8.031 kB / 1.092 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.144e-05/0.2947, allocations: 7.984 kB / 1.092 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.2947, allocations: 4 kB / 1.092 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.987e-05/0.2947, allocations: 75.28 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2948, allocations: 0 / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002584/0.295, allocations: 28 kB / 1.093 GB, free: 12.28 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 (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.0005936/0.2956, allocations: 0.732 MB / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000216/0.2958, allocations: 39.91 kB / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2959, allocations: 0 / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.555e-05/0.2959, allocations: 19.98 kB / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002241/0.2962, allocations: 7.984 kB / 1.093 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004277/0.2966, allocations: 147.4 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.2969, allocations: 0.6846 MB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.194e-05/0.2969, allocations: 0 / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.84e-05/0.2969, allocations: 7.438 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.2969, allocations: 0 / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01891/0.3159, allocations: 1.78 MB / 1.096 GB, free: 8.836 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.516/7.832, allocations: 10.17 kB / 1.096 GB, free: 8.828 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.BesselY1_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_BesselY1.fmu > Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches