Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Examples.BesselJ1,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_10_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.01046/0.01046, allocations: 96.11 kB / 15.73 MB, free: 6.039 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.002068/0.002068, allocations: 201.7 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.577/1.577, 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.768/2.768, allocations: 437.1 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 67.89 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3248, allocations: 151.6 MB / 1.166 GB, free: 7.289 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.003362/0.3282, allocations: 1.42 MB / 1.168 GB, free: 5.852 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0007181/0.329, allocations: 260 kB / 1.168 GB, free: 5.594 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.044e-05/0.3291, allocations: 0 / 1.168 GB, free: 5.594 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.998e-05/0.3291, allocations: 3.938 kB / 1.168 GB, free: 5.59 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.663e-05/0.3292, allocations: 0 / 1.168 GB, free: 5.59 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000491/0.3297, allocations: 59.83 kB / 1.168 GB, free: 5.531 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.54e-05/0.3298, allocations: 19.92 kB / 1.168 GB, free: 5.512 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.823e-05/0.3299, allocations: 7.984 kB / 1.168 GB, free: 5.504 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.978e-05/0.33, allocations: 15.92 kB / 1.168 GB, free: 5.488 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.438e-05/0.33, allocations: 8 kB / 1.168 GB, free: 5.48 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.33, allocations: 4 kB / 1.168 GB, free: 5.477 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001702/0.3302, allocations: 63.88 kB / 1.168 GB, free: 5.414 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.554e-05/0.3302, allocations: 11.86 kB / 1.168 GB, free: 5.402 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.287e-05/0.3303, allocations: 8 kB / 1.168 GB, free: 5.395 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001752/0.3305, allocations: 52.08 kB / 1.168 GB, free: 5.344 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.3305, allocations: 4 kB / 1.168 GB, free: 5.34 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.923e-06/0.3305, allocations: 0 / 1.168 GB, free: 5.34 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.3305, allocations: 0 / 1.168 GB, free: 5.34 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005275/0.331, allocations: 343.4 kB / 1.168 GB, free: 4.953 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.3311, allocations: 8.031 kB / 1.168 GB, free: 4.945 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.963e-05/0.3311, allocations: 34.75 kB / 1.168 GB, free: 4.902 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.324e-05/0.3312, allocations: 12.91 kB / 1.168 GB, free: 4.891 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.3313, allocations: 172.2 kB / 1.169 GB, free: 4.684 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.3313, allocations: 4.375 kB / 1.169 GB, free: 4.68 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.3314, allocations: 4.375 kB / 1.169 GB, free: 4.676 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001904/0.3316, allocations: 46.23 kB / 1.169 GB, free: 4.625 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.3316, allocations: 11.94 kB / 1.169 GB, free: 4.613 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.3316, allocations: 0 / 1.169 GB, free: 4.613 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-06/0.3316, allocations: 0 / 1.169 GB, free: 4.613 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000166/0.3318, allocations: 31.91 kB / 1.169 GB, free: 4.582 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003469/0.3321, allocations: 249 kB / 1.169 GB, free: 4.289 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.3323, allocations: 50.44 kB / 1.169 GB, free: 4.23 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.991e-05/0.3324, allocations: 24.89 kB / 1.169 GB, free: 4.203 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007877/0.3332, allocations: 449.5 kB / 1.169 GB, free: 3.672 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.3332, allocations: 42.55 kB / 1.169 GB, free: 3.621 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/0.3332, allocations: 0 / 1.169 GB, free: 3.621 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003683/0.3336, allocations: 73.66 kB / 1.17 GB, free: 3.543 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.3337, allocations: 55.34 kB / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.867e-05/0.3338, allocations: 105.8 kB / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.3338, allocations: 25.7 kB / 1.17 GB, free: 3.332 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.459e-05/0.3339, allocations: 84.27 kB / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.378e-05/0.3339, allocations: 7.953 kB / 1.17 GB, free: 3.238 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.117e-05/0.3339, allocations: 17.7 kB / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.3341, allocations: 310.8 kB / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.628e-05/0.3342, allocations: 15.98 kB / 1.17 GB, free: 2.887 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.067e-05/0.3343, allocations: 15.98 kB / 1.17 GB, free: 2.871 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.3344, allocations: 44.88 kB / 1.17 GB, free: 2.824 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.3344, allocations: 3.938 kB / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001979/0.3346, allocations: 69.56 kB / 1.17 GB, free: 2.746 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.3347, allocations: 8 kB / 1.17 GB, free: 2.738 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.3347, allocations: 3.984 kB / 1.17 GB, free: 2.734 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.3347, allocations: 0 / 1.17 GB, free: 2.734 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.605e-05/0.3348, allocations: 8.031 kB / 1.17 GB, free: 2.727 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3348, allocations: 0 / 1.17 GB, free: 2.727 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.133e-05/0.3349, allocations: 11.92 kB / 1.17 GB, free: 2.715 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.3349, allocations: 4 kB / 1.17 GB, free: 2.711 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 (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.294e-05/0.335, allocations: 109.8 kB / 1.17 GB, free: 2.594 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.543e-05/0.335, allocations: 0 / 1.17 GB, free: 2.594 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002489/0.3353, allocations: 76.78 kB / 1.17 GB, free: 2.512 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3353, allocations: 0 / 1.17 GB, free: 2.512 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.3353, allocations: 3.984 kB / 1.17 GB, free: 2.508 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.3353, allocations: 0 / 1.17 GB, free: 2.508 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/0.3354, allocations: 161.5 kB / 1.171 GB, free: 2.301 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3355, allocations: 0 / 1.171 GB, free: 2.301 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.965e-05/0.3355, allocations: 11.98 kB / 1.171 GB, free: 2.289 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.3355, allocations: 3.938 kB / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.3355, allocations: 0 / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.3355, allocations: 4 kB / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3356, allocations: 224 / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002341/0.3358, allocations: 167.5 kB / 1.171 GB, free: 2.102 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.971e-05/0.3358, allocations: 85.05 kB / 1.171 GB, free: 2 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.3359, allocations: 4 kB / 1.171 GB, free: 1.996 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.212e-05/0.3359, allocations: 3.984 kB / 1.171 GB, free: 1.992 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.551e-05/0.336, allocations: 4 kB / 1.171 GB, free: 1.988 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.336, allocations: 4.031 kB / 1.171 GB, free: 1.984 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.119e-05/0.336, allocations: 83.28 kB / 1.171 GB, free: 1.902 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.336, allocations: 0 / 1.171 GB, free: 1.902 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002445/0.3363, allocations: 19.92 kB / 1.171 GB, free: 1.883 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 (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.000613/0.3369, allocations: 0.7162 MB / 1.172 GB, free: 1.137 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002066/0.3371, allocations: 35.95 kB / 1.172 GB, free: 1.102 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3371, allocations: 0 / 1.172 GB, free: 1.102 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.73e-05/0.3372, allocations: 24.02 kB / 1.172 GB, free: 1.078 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.3375, allocations: 6.031 kB / 1.172 GB, free: 1.074 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000439/0.3379, allocations: 139.1 kB / 1.172 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.3382, allocations: 0.6729 MB / 1.173 GB, free: 204 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.454e-05/0.3383, allocations: 0 / 1.173 GB, free: 204 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.429e-05/0.3383, allocations: 15.42 kB / 1.173 GB, free: 188 kB / 0.92 GB Notification: Performance of SimCode: time 2.3e-07/0.3383, allocations: 4.062 kB / 1.173 GB, free: 184 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01899/0.3573, allocations: 1.514 MB / 1.174 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.789/8.147, allocations: 3.984 kB / 1.174 GB, free: 14.73 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 Buildings_10_Buildings_Utilities_Math_Examples_BesselJ1.fmu > Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches