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.007588/0.007588, 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.002007/0.002007, allocations: 202.6 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.472/1.472, allocations: 222.9 MB / 240.4 MB, free: 4.344 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.734/2.734, allocations: 437 MB / 0.7105 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 75.88 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.332, allocations: 151.6 MB / 1.166 GB, free: 7.336 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.003715/0.3358, allocations: 1.43 MB / 1.168 GB, free: 5.891 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0007737/0.3366, allocations: 264 kB / 1.168 GB, free: 5.629 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.221e-05/0.3366, allocations: 4 kB / 1.168 GB, free: 5.625 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.233e-05/0.3367, allocations: 0 / 1.168 GB, free: 5.625 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.349e-05/0.3367, allocations: 3.938 kB / 1.168 GB, free: 5.621 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004522/0.3372, allocations: 63.8 kB / 1.168 GB, free: 5.559 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.595e-05/0.3373, allocations: 19.94 kB / 1.168 GB, free: 5.539 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.547e-05/0.3374, allocations: 7.984 kB / 1.168 GB, free: 5.531 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.677e-05/0.3375, allocations: 7.938 kB / 1.168 GB, free: 5.523 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.538e-05/0.3375, allocations: 11.98 kB / 1.168 GB, free: 5.512 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.3375, allocations: 4 kB / 1.168 GB, free: 5.508 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002112/0.3378, allocations: 67.92 kB / 1.168 GB, free: 5.441 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.471e-05/0.3378, allocations: 3.938 kB / 1.168 GB, free: 5.438 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.739e-05/0.3378, allocations: 8 kB / 1.168 GB, free: 5.43 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002035/0.338, allocations: 60 kB / 1.168 GB, free: 5.371 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.338, allocations: 0 / 1.168 GB, free: 5.371 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3381, allocations: 0 / 1.168 GB, free: 5.371 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.3381, allocations: 0 / 1.168 GB, free: 5.371 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.0007486/0.3388, allocations: 343.4 kB / 1.168 GB, free: 4.984 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.3389, allocations: 8.031 kB / 1.168 GB, free: 4.977 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.015e-05/0.3389, allocations: 42.69 kB / 1.168 GB, free: 4.926 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.677e-05/0.339, allocations: 4.938 kB / 1.168 GB, free: 4.922 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/0.3392, allocations: 168.3 kB / 1.169 GB, free: 4.719 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.3392, allocations: 384 / 1.169 GB, free: 4.719 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/0.3392, allocations: 4.375 kB / 1.169 GB, free: 4.715 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.3394, allocations: 50.23 kB / 1.169 GB, free: 4.66 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.3395, allocations: 7.875 kB / 1.169 GB, free: 4.652 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.3395, allocations: 3.938 kB / 1.169 GB, free: 4.648 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.3395, allocations: 0 / 1.169 GB, free: 4.648 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002272/0.3397, allocations: 35.95 kB / 1.169 GB, free: 4.613 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003912/0.3401, allocations: 241 kB / 1.169 GB, free: 4.328 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/0.3403, allocations: 46.48 kB / 1.169 GB, free: 4.273 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.3404, allocations: 20.91 kB / 1.169 GB, free: 4.25 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009415/0.3414, allocations: 457.5 kB / 1.169 GB, free: 3.711 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.603e-05/0.3415, allocations: 38.5 kB / 1.169 GB, free: 3.664 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.593e-06/0.3415, allocations: 0 / 1.169 GB, free: 3.664 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0005869/0.3421, allocations: 81.64 kB / 1.17 GB, free: 3.578 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.3421, allocations: 55.41 kB / 1.17 GB, free: 3.512 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.907e-05/0.3422, allocations: 97.86 kB / 1.17 GB, free: 3.406 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.3423, allocations: 25.7 kB / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.441e-05/0.3423, allocations: 84.12 kB / 1.17 GB, free: 3.289 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.329e-05/0.3424, allocations: 3.953 kB / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.866e-05/0.3424, allocations: 17.84 kB / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.3426, allocations: 314.8 kB / 1.17 GB, free: 2.945 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.3428, allocations: 19.98 kB / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.3429, allocations: 19.91 kB / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002255/0.3431, allocations: 36.83 kB / 1.17 GB, free: 2.867 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.3431, allocations: 8 kB / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002898/0.3434, allocations: 65.61 kB / 1.17 GB, free: 2.789 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.3435, allocations: 9.875 kB / 1.17 GB, free: 2.781 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.3435, allocations: 0 / 1.17 GB, free: 2.781 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.3435, allocations: 0 / 1.17 GB, free: 2.781 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.3436, allocations: 7.984 kB / 1.17 GB, free: 2.773 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.3436, allocations: 0 / 1.17 GB, free: 2.773 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.105e-05/0.3437, allocations: 12 kB / 1.17 GB, free: 2.762 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.3437, allocations: 8.031 kB / 1.17 GB, free: 2.754 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 0.0001369/0.3439, allocations: 117.7 kB / 1.17 GB, free: 2.629 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.165e-05/0.3439, allocations: 192 / 1.17 GB, free: 2.629 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003101/0.3442, allocations: 72.78 kB / 1.17 GB, free: 2.551 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.3443, allocations: 3.984 kB / 1.17 GB, free: 2.547 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3443, allocations: 0 / 1.17 GB, free: 2.547 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.3443, allocations: 0 / 1.17 GB, free: 2.547 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/0.3445, allocations: 169.5 kB / 1.171 GB, free: 2.332 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3446, allocations: 0 / 1.171 GB, free: 2.332 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.903e-05/0.3446, allocations: 11.98 kB / 1.171 GB, free: 2.32 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.3446, allocations: 0 / 1.171 GB, free: 2.32 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.3447, allocations: 0 / 1.171 GB, free: 2.32 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3447, allocations: 0 / 1.171 GB, free: 2.32 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3447, allocations: 0 / 1.171 GB, free: 2.32 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003367/0.345, allocations: 171.4 kB / 1.171 GB, free: 2.137 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.466e-05/0.3451, allocations: 81.06 kB / 1.171 GB, free: 2.039 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.345e-05/0.3451, allocations: 7.984 kB / 1.171 GB, free: 2.031 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.3452, allocations: 4 kB / 1.171 GB, free: 2.027 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/0.3453, allocations: 0 / 1.171 GB, free: 2.027 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.3453, allocations: 3.984 kB / 1.171 GB, free: 2.023 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.451e-05/0.3454, allocations: 79.28 kB / 1.171 GB, free: 1.945 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3454, allocations: 0 / 1.171 GB, free: 1.945 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004036/0.3458, allocations: 23.97 kB / 1.171 GB, free: 1.922 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.0008463/0.3466, allocations: 0.724 MB / 1.172 GB, free: 1.168 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003003/0.347, allocations: 31.97 kB / 1.172 GB, free: 1.137 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.347, allocations: 0 / 1.172 GB, free: 1.137 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.3471, allocations: 19.97 kB / 1.172 GB, free: 1.117 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.3475, allocations: 4 kB / 1.172 GB, free: 1.113 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005696/0.3481, allocations: 139.2 kB / 1.172 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005299/0.3486, allocations: 0.6768 MB / 1.173 GB, free: 240 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.475e-05/0.3487, allocations: 7.938 kB / 1.173 GB, free: 232 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.842e-05/0.3487, allocations: 7.438 kB / 1.173 GB, free: 224 kB / 0.92 GB Notification: Performance of SimCode: time 4.91e-07/0.3487, allocations: 0 / 1.173 GB, free: 224 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03366/0.3824, allocations: 1.513 MB / 1.174 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.18/8.563, allocations: 9.297 kB / 1.174 GB, free: 14.77 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