Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001862/0.001862, allocations: 103 kB / 16.45 MB, free: 6.449 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.001953/0.001953, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.505/1.505, allocations: 230.6 MB / 252.8 MB, free: 9.145 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.313/3.313, allocations: 0.49 GB / 0.7916 GB, free: 33.53 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.BesselJ1,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_12_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.002004/0.002004, allocations: 74.3 kB / 1.149 GB, free: 26.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3568, allocations: 176.1 MB / 1.321 GB, free: 3.355 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002613/0.3594, allocations: 1.46 MB / 1.322 GB, free: 1.891 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000586/0.36, allocations: 251.7 kB / 1.322 GB, free: 1.645 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.02e-05/0.36, allocations: 3.938 kB / 1.322 GB, free: 1.641 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.951e-05/0.36, allocations: 7.938 kB / 1.322 GB, free: 1.633 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.625e-05/0.3601, allocations: 0 / 1.322 GB, free: 1.633 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003919/0.3605, allocations: 63.81 kB / 1.323 GB, free: 1.57 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.826e-05/0.3605, allocations: 23.92 kB / 1.323 GB, free: 1.547 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.394e-05/0.3606, allocations: 4 kB / 1.323 GB, free: 1.543 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.317e-05/0.3607, allocations: 7.984 kB / 1.323 GB, free: 1.535 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.481e-05/0.3607, allocations: 15.92 kB / 1.323 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.102e-05/0.3607, allocations: 4 kB / 1.323 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001474/0.3609, allocations: 59.88 kB / 1.323 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.447e-05/0.3609, allocations: 7.984 kB / 1.323 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.491e-05/0.3609, allocations: 15.94 kB / 1.323 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.3611, allocations: 52.08 kB / 1.323 GB, free: 1.383 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.3611, allocations: 0 / 1.323 GB, free: 1.383 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3611, allocations: 0 / 1.323 GB, free: 1.383 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.3611, allocations: 0 / 1.323 GB, free: 1.383 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.0005329/0.3616, allocations: 347.3 kB / 1.323 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.3617, allocations: 15.97 kB / 1.323 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.655e-05/0.3617, allocations: 30.75 kB / 1.323 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.591e-05/0.3617, allocations: 4.938 kB / 1.323 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.3619, allocations: 176.3 kB / 1.323 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.3619, allocations: 384 / 1.323 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.3619, allocations: 4.375 kB / 1.323 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.3621, allocations: 50.17 kB / 1.323 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.3621, allocations: 7.938 kB / 1.323 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.3621, allocations: 0 / 1.323 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.3621, allocations: 0 / 1.323 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001949/0.3623, allocations: 35.95 kB / 1.323 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003451/0.3626, allocations: 244.9 kB / 1.324 GB, free: 340 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.3627, allocations: 38.5 kB / 1.324 GB, free: 292 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.786e-05/0.3628, allocations: 24.89 kB / 1.324 GB, free: 264 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007911/0.3636, allocations: 461.5 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.3637, allocations: 30.56 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.3637, allocations: 0 / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003713/0.364, allocations: 89.58 kB / 1.324 GB, free: 15.58 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.3641, allocations: 51.41 kB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.752e-05/0.3642, allocations: 101.9 kB / 1.324 GB, free: 15.41 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.3642, allocations: 25.7 kB / 1.324 GB, free: 15.38 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.945e-05/0.3643, allocations: 80.14 kB / 1.324 GB, free: 15.3 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.3643, allocations: 7.938 kB / 1.324 GB, free: 15.29 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.862e-05/0.3643, allocations: 21.66 kB / 1.324 GB, free: 15.26 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.3645, allocations: 315 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.793e-05/0.3646, allocations: 11.98 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.916e-05/0.3646, allocations: 19.98 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.3648, allocations: 36.81 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.3648, allocations: 3.938 kB / 1.325 GB, free: 14.87 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002113/0.365, allocations: 73.66 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.365, allocations: 4 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.365, allocations: 0 / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.3651, allocations: 4 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.881e-05/0.3651, allocations: 4 kB / 1.325 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.3652, allocations: 3.984 kB / 1.325 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.274e-05/0.3652, allocations: 11.98 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/0.3652, allocations: 0 / 1.325 GB, free: 14.77 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 0.0001116/0.3653, allocations: 121.8 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/0.3653, allocations: 3.953 kB / 1.325 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002432/0.3656, allocations: 80.7 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.3656, allocations: 0 / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3656, allocations: 192 / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.3656, allocations: 0 / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002095/0.3658, allocations: 161.6 kB / 1.325 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3658, allocations: 4.031 kB / 1.325 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.034e-05/0.3659, allocations: 11.98 kB / 1.325 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.3659, allocations: 0 / 1.325 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.3659, allocations: 0 / 1.325 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3659, allocations: 3.938 kB / 1.325 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3659, allocations: 0 / 1.325 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002768/0.3662, allocations: 163.5 kB / 1.325 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.221e-05/0.3662, allocations: 77.11 kB / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.3662, allocations: 4 kB / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.112e-05/0.3663, allocations: 7.984 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.653e-05/0.3664, allocations: 4 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.3664, allocations: 0 / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.048e-05/0.3664, allocations: 87.2 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3664, allocations: 0 / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002428/0.3666, allocations: 15.94 kB / 1.326 GB, free: 13.93 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.0007447/0.3674, allocations: 0.7279 MB / 1.326 GB, free: 13.18 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002274/0.3676, allocations: 39.97 kB / 1.326 GB, free: 13.14 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3676, allocations: 0 / 1.326 GB, free: 13.14 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.007e-05/0.3677, allocations: 15.92 kB / 1.326 GB, free: 13.12 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.3679, allocations: 7.984 kB / 1.326 GB, free: 13.11 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004639/0.3684, allocations: 155.1 kB / 1.327 GB, free: 12.92 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003731/0.3688, allocations: 0.6729 MB / 1.327 GB, free: 12.22 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.421e-05/0.3688, allocations: 3.984 kB / 1.327 GB, free: 12.22 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.476e-05/0.3688, allocations: 7.438 kB / 1.327 GB, free: 12.21 MB / 1.029 GB Notification: Performance of SimCode: time 5.41e-07/0.3688, allocations: 0 / 1.327 GB, free: 12.21 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02663/0.3955, allocations: 1.513 MB / 1.329 GB, free: 10.77 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.295/8.69, allocations: 7.5 kB / 1.329 GB, free: 10.77 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.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_12_Buildings_Utilities_Math_Examples_BesselJ1.fmu > Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 15.68507499108091]