Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.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.001393/0.001393, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001472/0.001472, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.3/3.3, allocations: 0.5003 GB / 0.8061 GB, free: 26.75 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.BesselJ0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="cs",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.001974/0.001974, allocations: 61.56 kB / 1.171 GB, free: 19.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3412, allocations: 179 MB / 1.345 GB, free: 468 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002661/0.3439, allocations: 1.47 MB / 1.347 GB, free: 14.98 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0005315/0.3444, allocations: 239.3 kB / 1.347 GB, free: 14.74 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.6e-05/0.3445, allocations: 4 kB / 1.347 GB, free: 14.74 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.726e-05/0.3445, allocations: 0 / 1.347 GB, free: 14.74 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.961e-05/0.3445, allocations: 11.88 kB / 1.347 GB, free: 14.73 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003522/0.3449, allocations: 59.81 kB / 1.347 GB, free: 14.67 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.065e-05/0.3449, allocations: 15.98 kB / 1.347 GB, free: 14.65 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.411e-05/0.345, allocations: 8 kB / 1.347 GB, free: 14.64 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.008e-05/0.3451, allocations: 7.984 kB / 1.347 GB, free: 14.64 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.721e-05/0.3451, allocations: 7.938 kB / 1.347 GB, free: 14.63 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.847e-06/0.3451, allocations: 4 kB / 1.347 GB, free: 14.62 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001508/0.3453, allocations: 67.86 kB / 1.347 GB, free: 14.56 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.258e-06/0.3453, allocations: 4 kB / 1.347 GB, free: 14.55 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.713e-05/0.3453, allocations: 11.94 kB / 1.347 GB, free: 14.54 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001588/0.3455, allocations: 64 kB / 1.347 GB, free: 14.48 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.3455, allocations: 0 / 1.347 GB, free: 14.48 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3455, allocations: 0 / 1.347 GB, free: 14.48 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.3455, allocations: 0 / 1.347 GB, free: 14.48 MB / 1.045 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.0004631/0.3459, allocations: 270.2 kB / 1.347 GB, free: 14.18 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.346, allocations: 8.031 kB / 1.348 GB, free: 14.18 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.38e-05/0.346, allocations: 8.188 kB / 1.348 GB, free: 14.17 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.914e-05/0.346, allocations: 30.75 kB / 1.348 GB, free: 14.13 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.141e-05/0.346, allocations: 0.9375 kB / 1.348 GB, free: 14.13 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.3461, allocations: 114.5 kB / 1.348 GB, free: 13.99 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.042e-06/0.3461, allocations: 384 / 1.348 GB, free: 13.99 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.3462, allocations: 4.375 kB / 1.348 GB, free: 13.99 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.3463, allocations: 49.98 kB / 1.348 GB, free: 13.93 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.3463, allocations: 0 / 1.348 GB, free: 13.93 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.3463, allocations: 4 kB / 1.348 GB, free: 13.93 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.3463, allocations: 4 kB / 1.348 GB, free: 13.93 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001714/0.3465, allocations: 39.89 kB / 1.348 GB, free: 13.89 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003098/0.3468, allocations: 216 kB / 1.348 GB, free: 13.63 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.347, allocations: 38.55 kB / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.696e-05/0.347, allocations: 20.91 kB / 1.348 GB, free: 13.56 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004994/0.3475, allocations: 75.92 kB / 1.348 GB, free: 13.49 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.3476, allocations: 34.5 kB / 1.348 GB, free: 13.45 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.413e-06/0.3476, allocations: 0 / 1.348 GB, free: 13.45 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0003717/0.3479, allocations: 89.58 kB / 1.348 GB, free: 13.35 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.348, allocations: 51.41 kB / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.633e-05/0.3481, allocations: 101.8 kB / 1.348 GB, free: 13.18 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.3481, allocations: 25.7 kB / 1.348 GB, free: 13.15 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.694e-05/0.3482, allocations: 80.14 kB / 1.348 GB, free: 13.07 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.952e-05/0.3482, allocations: 7.953 kB / 1.348 GB, free: 13.06 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.454e-05/0.3482, allocations: 17.84 kB / 1.348 GB, free: 13.04 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.3483, allocations: 322.8 kB / 1.349 GB, free: 12.71 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.671e-05/0.3484, allocations: 15.98 kB / 1.349 GB, free: 12.7 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.383e-05/0.3485, allocations: 11.98 kB / 1.349 GB, free: 12.68 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.3487, allocations: 44.7 kB / 1.349 GB, free: 12.64 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3487, allocations: 4.062 kB / 1.349 GB, free: 12.63 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002055/0.3489, allocations: 69.61 kB / 1.349 GB, free: 12.56 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.3489, allocations: 4 kB / 1.349 GB, free: 12.55 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.3489, allocations: 0 / 1.349 GB, free: 12.55 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.3489, allocations: 0 / 1.349 GB, free: 12.55 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.343e-05/0.349, allocations: 11.98 kB / 1.349 GB, free: 12.54 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.349, allocations: 0 / 1.349 GB, free: 12.54 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.835e-05/0.349, allocations: 16.02 kB / 1.349 GB, free: 12.53 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.349, allocations: 0 / 1.349 GB, free: 12.53 MB / 1.045 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.293e-05/0.3491, allocations: 109.8 kB / 1.349 GB, free: 12.41 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-05/0.3492, allocations: 4 kB / 1.349 GB, free: 12.41 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002454/0.3494, allocations: 76.91 kB / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.3494, allocations: 0 / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.3494, allocations: 0 / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3494, allocations: 4.031 kB / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.3496, allocations: 136.7 kB / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3496, allocations: 0 / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.386e-05/0.3496, allocations: 4 kB / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3496, allocations: 0 / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.026e-06/0.3496, allocations: 3.984 kB / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3496, allocations: 4 kB / 1.349 GB, free: 12.13 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3496, allocations: 0 / 1.349 GB, free: 12.13 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.3499, allocations: 171.6 kB / 1.349 GB, free: 11.95 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.216e-05/0.3499, allocations: 11.88 kB / 1.349 GB, free: 11.94 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.3499, allocations: 0 / 1.349 GB, free: 11.94 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.436e-05/0.35, allocations: 4 kB / 1.349 GB, free: 11.93 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.343e-05/0.35, allocations: 3.984 kB / 1.349 GB, free: 11.93 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.35, allocations: 4 kB / 1.349 GB, free: 11.93 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.845e-05/0.3501, allocations: 75.28 kB / 1.35 GB, free: 11.85 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3501, allocations: 4.031 kB / 1.35 GB, free: 11.85 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002449/0.3503, allocations: 20 kB / 1.35 GB, free: 11.83 MB / 1.045 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.0006524/0.351, allocations: 0.7239 MB / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000212/0.3512, allocations: 35.95 kB / 1.35 GB, free: 11.04 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3512, allocations: 0 / 1.35 GB, free: 11.04 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.164e-05/0.3513, allocations: 15.98 kB / 1.35 GB, free: 11.02 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.3515, allocations: 10 kB / 1.35 GB, free: 11.02 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004361/0.3519, allocations: 147.1 kB / 1.35 GB, free: 10.83 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.3523, allocations: 0.6768 MB / 1.351 GB, free: 10.13 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.855e-05/0.3523, allocations: 0 / 1.351 GB, free: 10.13 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.051e-05/0.3523, allocations: 11.44 kB / 1.351 GB, free: 10.12 MB / 1.045 GB Notification: Performance of SimCode: time 3.01e-07/0.3523, allocations: 0 / 1.351 GB, free: 10.12 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02166/0.374, allocations: 1.655 MB / 1.353 GB, free: 8.602 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.89, allocations: 10.39 kB / 1.353 GB, free: 8.594 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ0.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.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.84261344699189]