Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001785/0.001785, allocations: 109.2 kB / 16.46 MB, free: 6.508 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.002609/0.002609, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.556/1.556, allocations: 230.6 MB / 252.8 MB, free: 9.113 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.368/3.368, allocations: 0.49 GB / 0.7916 GB, free: 33.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.BesselJ0,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_BesselJ0",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.001965/0.001965, allocations: 64.02 kB / 1.149 GB, free: 26.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3432, allocations: 176.1 MB / 1.321 GB, free: 3.309 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002802/0.346, allocations: 1.439 MB / 1.322 GB, free: 1.863 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0005318/0.3465, allocations: 251.6 kB / 1.322 GB, free: 1.617 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.721e-05/0.3465, allocations: 8 kB / 1.322 GB, free: 1.609 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.515e-05/0.3465, allocations: 3.984 kB / 1.322 GB, free: 1.605 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.339e-05/0.3466, allocations: 3.938 kB / 1.322 GB, free: 1.602 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003501/0.3469, allocations: 51.81 kB / 1.323 GB, free: 1.551 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.122e-05/0.347, allocations: 19.94 kB / 1.323 GB, free: 1.531 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 7.723e-05/0.3471, allocations: 7.984 kB / 1.323 GB, free: 1.523 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.031e-05/0.3471, allocations: 8 kB / 1.323 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.841e-05/0.3472, allocations: 15.92 kB / 1.323 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.207e-06/0.3472, allocations: 0 / 1.323 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001417/0.3473, allocations: 67.86 kB / 1.323 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.336e-05/0.3473, allocations: 8 kB / 1.323 GB, free: 1.426 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.459e-05/0.3473, allocations: 11.94 kB / 1.323 GB, free: 1.414 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.3475, allocations: 56.02 kB / 1.323 GB, free: 1.359 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.3475, allocations: 0 / 1.323 GB, free: 1.359 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3475, allocations: 0 / 1.323 GB, free: 1.359 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.82e-06/0.3475, allocations: 0 / 1.323 GB, free: 1.359 MB / 1.014 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.000513/0.348, allocations: 347.3 kB / 1.323 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.3481, allocations: 15.97 kB / 1.323 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.426e-05/0.3481, allocations: 34.75 kB / 1.323 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.537e-05/0.3481, allocations: 4.938 kB / 1.323 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.3483, allocations: 164.3 kB / 1.323 GB, free: 0.707 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.3483, allocations: 16.36 kB / 1.323 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.3483, allocations: 384 / 1.323 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.3485, allocations: 54.17 kB / 1.323 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.3485, allocations: 3.938 kB / 1.323 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-06/0.3485, allocations: 0 / 1.323 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.3485, allocations: 0 / 1.323 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001866/0.3487, allocations: 39.95 kB / 1.323 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003296/0.349, allocations: 241 kB / 1.324 GB, free: 312 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.3492, allocations: 42.44 kB / 1.324 GB, free: 260 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.353e-05/0.3493, allocations: 20.89 kB / 1.324 GB, free: 236 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007325/0.35, allocations: 457.5 kB / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.66e-05/0.3501, allocations: 30.56 kB / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.3501, allocations: 0 / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003673/0.3504, allocations: 85.64 kB / 1.324 GB, free: 15.56 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.3505, allocations: 55.34 kB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.639e-05/0.3506, allocations: 101.8 kB / 1.324 GB, free: 15.39 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.3506, allocations: 25.7 kB / 1.324 GB, free: 15.36 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.726e-05/0.3506, allocations: 80.14 kB / 1.324 GB, free: 15.27 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.718e-05/0.3506, allocations: 11.89 kB / 1.324 GB, free: 15.26 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-05/0.3507, allocations: 13.72 kB / 1.324 GB, free: 15.24 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.3508, allocations: 319 kB / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.832e-05/0.3509, allocations: 15.98 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.799e-05/0.351, allocations: 15.98 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.3511, allocations: 40.81 kB / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.3511, allocations: 3.938 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002048/0.3513, allocations: 65.73 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.3514, allocations: 4 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.3514, allocations: 0 / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.3514, allocations: 0 / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.656e-05/0.3515, allocations: 15.92 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.187e-06/0.3515, allocations: 0 / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.99e-05/0.3515, allocations: 7.984 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.3515, allocations: 0 / 1.325 GB, free: 14.75 MB / 1.029 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.382e-05/0.3516, allocations: 121.8 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.797e-05/0.3516, allocations: 7.953 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002471/0.3519, allocations: 64.78 kB / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3519, allocations: 0 / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.3519, allocations: 0 / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.3519, allocations: 0 / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.3521, allocations: 161.6 kB / 1.325 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.3521, allocations: 4.031 kB / 1.325 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.533e-05/0.3521, allocations: 15.98 kB / 1.325 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3521, allocations: 0 / 1.325 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.3521, allocations: 0 / 1.325 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.3521, allocations: 3.938 kB / 1.325 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3521, allocations: 4 kB / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000265/0.3524, allocations: 163.5 kB / 1.325 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.576e-05/0.3525, allocations: 81.11 kB / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.103e-05/0.3525, allocations: 0 / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.819e-05/0.3526, allocations: 12.17 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.125e-05/0.3526, allocations: 3.938 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.3526, allocations: 3.984 kB / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.376e-05/0.3526, allocations: 79.28 kB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3526, allocations: 0 / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002451/0.3529, allocations: 19.94 kB / 1.326 GB, free: 13.91 MB / 1.029 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.0006835/0.3536, allocations: 0.724 MB / 1.326 GB, free: 13.16 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002217/0.3538, allocations: 35.95 kB / 1.326 GB, free: 13.12 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3538, allocations: 0 / 1.326 GB, free: 13.12 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.162e-05/0.3539, allocations: 19.98 kB / 1.326 GB, free: 13.11 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000229/0.3541, allocations: 0 / 1.326 GB, free: 13.11 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000447/0.3546, allocations: 155 kB / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.3549, allocations: 0.6768 MB / 1.327 GB, free: 12.21 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.929e-05/0.3549, allocations: 0 / 1.327 GB, free: 12.21 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.535e-05/0.3549, allocations: 11.44 kB / 1.327 GB, free: 12.2 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.3549, allocations: 0 / 1.327 GB, free: 12.2 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0262/0.3811, allocations: 1.51 MB / 1.329 GB, free: 10.75 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.546/8.927, allocations: 8.406 kB / 1.329 GB, free: 10.75 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0_res.csv --start-time 0 --stop-time 30 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 Buildings_12_Buildings_Utilities_Math_Examples_BesselJ0.fmu > Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 15.945566213922575]