Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001646/0.001646, allocations: 208.3 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.529/1.529, allocations: 230.6 MB / 256 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.923/2.923, allocations: 476 MB / 0.7699 GB, free: 4.719 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002119/0.002119, allocations: 66.75 kB / 1.117 GB, free: 40.99 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3379, allocations: 170 MB / 1.283 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001762/0.3397, allocations: 0.5839 MB / 1.283 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000567/0.3403, allocations: 191.4 kB / 1.283 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.267e-05/0.3403, allocations: 0 / 1.283 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.643e-05/0.3403, allocations: 0 / 1.283 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.119e-06/0.3403, allocations: 0 / 1.283 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000379/0.3407, allocations: 51.83 kB / 1.283 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 3.129e-05/0.3407, allocations: 0 / 1.283 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.986e-05/0.3408, allocations: 0 / 1.283 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.304e-05/0.3408, allocations: 0 / 1.283 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.508e-05/0.3408, allocations: 7.984 kB / 1.283 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.733e-06/0.3408, allocations: 0 / 1.283 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001758/0.341, allocations: 63.88 kB / 1.283 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.281e-05/0.341, allocations: 4 kB / 1.283 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.217e-05/0.341, allocations: 4 kB / 1.283 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.3411, allocations: 35.45 kB / 1.284 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.748e-06/0.3411, allocations: 0 / 1.284 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3411, allocations: 0 / 1.284 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.3411, allocations: 3.938 kB / 1.284 GB, free: 11.41 MB / 0.9825 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.0003226/0.3415, allocations: 244.1 kB / 1.284 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.3415, allocations: 12.02 kB / 1.284 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.729e-05/0.3415, allocations: 34.69 kB / 1.284 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.107e-05/0.3416, allocations: 4.938 kB / 1.284 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.3417, allocations: 106.5 kB / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.283e-06/0.3417, allocations: 384 / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.3417, allocations: 384 / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.839e-05/0.3418, allocations: 30.2 kB / 1.284 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.3418, allocations: 3.938 kB / 1.284 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.482e-06/0.3418, allocations: 4 kB / 1.284 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.3418, allocations: 0 / 1.284 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.608e-05/0.3418, allocations: 0 / 1.284 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002151/0.342, allocations: 124.8 kB / 1.284 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.225e-05/0.3421, allocations: 14.58 kB / 1.284 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.488e-05/0.3421, allocations: 8.859 kB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000569/0.3426, allocations: 71.98 kB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.3427, allocations: 46.48 kB / 1.284 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.3427, allocations: 0 / 1.284 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001371/0.3428, allocations: 33.73 kB / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.3429, allocations: 55.44 kB / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.131e-05/0.3429, allocations: 93.86 kB / 1.284 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.3429, allocations: 25.7 kB / 1.284 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.343, allocations: 84.14 kB / 1.284 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/0.343, allocations: 3.953 kB / 1.284 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/0.343, allocations: 9.719 kB / 1.284 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.3432, allocations: 310.8 kB / 1.285 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.988e-06/0.3432, allocations: 7.984 kB / 1.285 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.679e-06/0.3432, allocations: 0 / 1.285 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.996e-05/0.3432, allocations: 16.86 kB / 1.285 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3432, allocations: 0 / 1.285 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.457e-05/0.3433, allocations: 33.7 kB / 1.285 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.3433, allocations: 6.344 kB / 1.285 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.3433, allocations: 7.938 kB / 1.285 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.3433, allocations: 0 / 1.285 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.447e-05/0.3433, allocations: 3.938 kB / 1.285 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.3433, allocations: 3.984 kB / 1.285 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.297e-06/0.3433, allocations: 0 / 1.285 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.3433, allocations: 3.984 kB / 1.285 GB, free: 9.836 MB / 0.9825 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 7.318e-05/0.3434, allocations: 113.9 kB / 1.285 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.68e-06/0.3434, allocations: 0 / 1.285 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.462e-05/0.3435, allocations: 44.58 kB / 1.285 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.3435, allocations: 0 / 1.285 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.3435, allocations: 0 / 1.285 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.3435, allocations: 0 / 1.285 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.3436, allocations: 124.7 kB / 1.285 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.3436, allocations: 3.984 kB / 1.285 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.047e-05/0.3437, allocations: 0 / 1.285 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.3437, allocations: 0 / 1.285 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.3437, allocations: 7.938 kB / 1.285 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.3437, allocations: 4.031 kB / 1.285 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3437, allocations: 0 / 1.285 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.378e-05/0.3437, allocations: 61.06 kB / 1.285 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.737e-06/0.3437, allocations: 4 kB / 1.285 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.095e-05/0.3438, allocations: 3.938 kB / 1.285 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.442e-06/0.3438, allocations: 0 / 1.285 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.298e-05/0.3438, allocations: 0 / 1.285 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.3438, allocations: 4 kB / 1.285 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.341e-05/0.3438, allocations: 79.28 kB / 1.285 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3438, allocations: 0 / 1.285 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001946/0.344, allocations: 15.97 kB / 1.285 GB, free: 9.305 MB / 0.9825 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.0004763/0.3445, allocations: 0.6124 MB / 1.286 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 6.159e-05/0.3446, allocations: 7.938 kB / 1.286 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3446, allocations: 0 / 1.286 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.195e-06/0.3446, allocations: 4.094 kB / 1.286 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001288/0.3447, allocations: 9.891 kB / 1.286 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003196/0.345, allocations: 102.6 kB / 1.286 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.691e-05/0.3451, allocations: 55.36 kB / 1.286 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.35e-05/0.3451, allocations: 4 kB / 1.286 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.744e-05/0.3451, allocations: 11.38 kB / 1.286 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of SimCode: time 3.51e-07/0.3451, allocations: 0 / 1.286 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02802/0.3731, allocations: 1.654 MB / 1.288 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.54, allocations: 2.766 kB / 1.288 GB, free: 6.883 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.csv --start-time 0 --stop-time 30 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselJ1.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.531100813299417]