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.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.001637/0.001637, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00232/0.00232, allocations: 217.3 kB / 22.25 MB, free: 5.078 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.493/1.493, allocations: 230.6 MB / 256 MB, free: 8 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.92/2.92, allocations: 476.7 MB / 0.7707 GB, free: 4.301 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.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"}) [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.002175/0.002175, allocations: 65 kB / 1.117 GB, free: 39.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3381, allocations: 170 MB / 1.283 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002809/0.3409, allocations: 1.464 MB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0005939/0.3415, allocations: 255.2 kB / 1.285 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.413e-05/0.3415, allocations: 0 / 1.285 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.644e-05/0.3415, allocations: 3.938 kB / 1.285 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.614e-05/0.3416, allocations: 15.92 kB / 1.285 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003791/0.342, allocations: 55.83 kB / 1.285 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.944e-05/0.342, allocations: 19.98 kB / 1.285 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.357e-05/0.3421, allocations: 7.984 kB / 1.285 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.215e-05/0.3422, allocations: 11.98 kB / 1.285 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.032e-05/0.3422, allocations: 11.92 kB / 1.285 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.927e-06/0.3422, allocations: 0 / 1.285 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001521/0.3424, allocations: 59.89 kB / 1.285 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.3425, allocations: 15.92 kB / 1.285 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.5e-05/0.3425, allocations: 7.938 kB / 1.285 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.3426, allocations: 63.31 kB / 1.285 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3426, allocations: 0 / 1.285 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3426, allocations: 0 / 1.285 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.3427, allocations: 4 kB / 1.285 GB, free: 9.645 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000533/0.3432, allocations: 270.2 kB / 1.286 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.3432, allocations: 8.031 kB / 1.286 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.244e-05/0.3433, allocations: 34.73 kB / 1.286 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.57e-05/0.3433, allocations: 4.938 kB / 1.286 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.3434, allocations: 106.5 kB / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.3434, allocations: 4.375 kB / 1.286 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-06/0.3434, allocations: 4.375 kB / 1.286 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.3436, allocations: 50.22 kB / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.3436, allocations: 7.938 kB / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.3437, allocations: 0 / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.778e-06/0.3437, allocations: 0 / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/0.3438, allocations: 31.91 kB / 1.286 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003599/0.3442, allocations: 224 kB / 1.286 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.3443, allocations: 38.56 kB / 1.286 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.752e-05/0.3444, allocations: 24.84 kB / 1.286 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006024/0.345, allocations: 75.91 kB / 1.286 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/0.3451, allocations: 38.5 kB / 1.286 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.3451, allocations: 0 / 1.286 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.000387/0.3454, allocations: 81.67 kB / 1.286 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.3455, allocations: 55.44 kB / 1.286 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.237e-05/0.3456, allocations: 101.8 kB / 1.286 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.3456, allocations: 25.7 kB / 1.286 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.231e-05/0.3457, allocations: 84.14 kB / 1.287 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.3457, allocations: 11.94 kB / 1.287 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.412e-05/0.3457, allocations: 9.719 kB / 1.287 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.3459, allocations: 314.8 kB / 1.287 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.59e-05/0.346, allocations: 23.97 kB / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.05e-05/0.346, allocations: 11.98 kB / 1.287 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.3462, allocations: 40.77 kB / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/0.3462, allocations: 7.938 kB / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002005/0.3464, allocations: 73.72 kB / 1.287 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.3464, allocations: 5.875 kB / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3464, allocations: 0 / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.3464, allocations: 0 / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.278e-05/0.3465, allocations: 11.98 kB / 1.287 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.3465, allocations: 0 / 1.287 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.842e-05/0.3466, allocations: 11.92 kB / 1.287 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.3466, allocations: 0 / 1.287 GB, free: 7.691 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 (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.0001075/0.3467, allocations: 113.8 kB / 1.287 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.686e-05/0.3467, allocations: 7.953 kB / 1.287 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002242/0.3469, allocations: 72.91 kB / 1.287 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3469, allocations: 0 / 1.287 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3469, allocations: 0 / 1.287 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.3469, allocations: 4 kB / 1.287 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001793/0.3471, allocations: 140.6 kB / 1.287 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3471, allocations: 0 / 1.287 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.229e-05/0.3472, allocations: 8.031 kB / 1.287 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.3472, allocations: 4 kB / 1.287 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.3472, allocations: 0 / 1.287 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.3472, allocations: 3.984 kB / 1.287 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3472, allocations: 0 / 1.287 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000382/0.3476, allocations: 163.4 kB / 1.288 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.167e-06/0.3476, allocations: 8.016 kB / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.3476, allocations: 0 / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.654e-05/0.3477, allocations: 7.938 kB / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.823e-05/0.3477, allocations: 7.984 kB / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-06/0.3477, allocations: 0 / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.452e-05/0.3478, allocations: 83.47 kB / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3478, allocations: 0 / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000247/0.348, allocations: 12 kB / 1.288 GB, free: 6.996 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 (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.0007719/0.3488, allocations: 0.7219 MB / 1.288 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002192/0.349, allocations: 39.98 kB / 1.288 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.349, allocations: 0 / 1.288 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.291e-05/0.3491, allocations: 19.98 kB / 1.288 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.3493, allocations: 3.984 kB / 1.288 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004442/0.3498, allocations: 139.1 kB / 1.289 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.3501, allocations: 0.6808 MB / 1.289 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.279e-05/0.3501, allocations: 4 kB / 1.289 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.532e-05/0.3502, allocations: 15.44 kB / 1.289 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/0.3502, allocations: 0 / 1.289 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03188/0.382, allocations: 1.623 MB / 1.291 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.54, allocations: 14.55 kB / 1.291 GB, free: 3.773 MB / 0.9825 GB " [Timeout remaining time 288] (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 --stepSize=0.012 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_BesselJ1.fmu > Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 420.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.47860303102061]