Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.BesselJ1,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BesselJ1",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.001384/0.001384, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 198.2 kB / 16.53 MB, free: 6.664 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.262/1.262, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.69/2.69, allocations: 469.8 MB / 0.7424 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001859, allocations: 66.89 kB / 0.9087 GB, free: 34.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.282, allocations: 159.2 MB / 1.064 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002521/0.2845, allocations: 1.443 MB / 1.065 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004745/0.285, allocations: 249 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.979e-05/0.285, allocations: 0 / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.518e-05/0.2851, allocations: 0 / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.513e-05/0.2851, allocations: 15.86 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003132/0.2854, allocations: 59.83 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.622e-05/0.2855, allocations: 19.92 kB / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.803e-05/0.2856, allocations: 8 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.26e-05/0.2857, allocations: 4 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.443e-05/0.2857, allocations: 15.91 kB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.2857, allocations: 4 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000163/0.2859, allocations: 59.94 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.929e-06/0.2859, allocations: 0 / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.998e-05/0.286, allocations: 15.94 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000169/0.2861, allocations: 63.78 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2861, allocations: 0 / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2861, allocations: 0 / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.2862, allocations: 0 / 1.066 GB, free: 12.19 MB / 0.8262 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.0005596/0.2867, allocations: 347.7 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.2868, allocations: 8.031 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.785e-05/0.2868, allocations: 34.75 kB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.525e-05/0.2869, allocations: 0.9375 kB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.287, allocations: 168.4 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.287, allocations: 4.375 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.418e-06/0.287, allocations: 384 / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.2872, allocations: 50.23 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.2872, allocations: 3.938 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.2873, allocations: 0 / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.2873, allocations: 0 / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001781/0.2875, allocations: 39.89 kB / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003905/0.2879, allocations: 253 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.288, allocations: 38.5 kB / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.2881, allocations: 20.91 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007372/0.2889, allocations: 461.5 kB / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.2889, allocations: 34.56 kB / 1.067 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.2889, allocations: 0 / 1.067 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003575/0.2893, allocations: 89.48 kB / 1.067 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.2893, allocations: 51.41 kB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.57e-05/0.2894, allocations: 101.8 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.2894, allocations: 25.7 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.433e-05/0.2895, allocations: 84.08 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/0.2895, allocations: 11.91 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.841e-05/0.2895, allocations: 9.719 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.2897, allocations: 319 kB / 1.068 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.142e-05/0.2898, allocations: 19.98 kB / 1.068 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.97e-05/0.2899, allocations: 11.98 kB / 1.068 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.29, allocations: 40.77 kB / 1.068 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.29, allocations: 7.875 kB / 1.068 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001903/0.2902, allocations: 69.72 kB / 1.068 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.2902, allocations: 8 kB / 1.068 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.2902, allocations: 0 / 1.068 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.2903, allocations: 0 / 1.068 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.572e-05/0.2903, allocations: 7.984 kB / 1.068 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.2904, allocations: 4 kB / 1.068 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.517e-05/0.2904, allocations: 7.984 kB / 1.068 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/0.2904, allocations: 0 / 1.068 GB, free: 9.574 MB / 0.8262 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 8.582e-05/0.2905, allocations: 113.8 kB / 1.068 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.2e-05/0.2905, allocations: 0 / 1.068 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002182/0.2908, allocations: 76.72 kB / 1.068 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.2908, allocations: 0 / 1.068 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.2908, allocations: 0 / 1.068 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.2908, allocations: 0 / 1.068 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.291, allocations: 169.5 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.291, allocations: 32 / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.463e-05/0.291, allocations: 12 kB / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.291, allocations: 3.984 kB / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-06/0.2911, allocations: 0 / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.2911, allocations: 0 / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2911, allocations: 0 / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.2913, allocations: 175.3 kB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.368e-05/0.2914, allocations: 81.11 kB / 1.069 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.136e-05/0.2914, allocations: 0 / 1.069 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.168e-05/0.2915, allocations: 8 kB / 1.069 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.899e-05/0.2915, allocations: 3.984 kB / 1.069 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.2915, allocations: 0 / 1.069 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.052e-05/0.2916, allocations: 83.28 kB / 1.069 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2916, allocations: 0 / 1.069 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002245/0.2918, allocations: 12 kB / 1.069 GB, free: 8.754 MB / 0.8262 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.0006272/0.2924, allocations: 0.7203 MB / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002014/0.2926, allocations: 43.92 kB / 1.07 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2927, allocations: 3.938 kB / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.535e-05/0.2927, allocations: 19.98 kB / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.293, allocations: 7.938 kB / 1.07 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003906/0.2934, allocations: 139.3 kB / 1.07 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.2936, allocations: 0.6768 MB / 1.07 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.869e-05/0.2937, allocations: 0 / 1.07 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.008e-05/0.2937, allocations: 15.44 kB / 1.07 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.2937, allocations: 0 / 1.07 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.189/1.483, allocations: 1.485 MB / 1.072 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/14.79, allocations: 9.484 kB / 1.072 GB, free: 5.598 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_BesselJ1.fmu > Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches