Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00183/0.00183, allocations: 103.1 kB / 16.45 MB, free: 6.504 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.002121/0.002121, allocations: 212.9 kB / 19.43 MB, free: 3.656 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.52/1.52, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.833/2.833, allocations: 476.7 MB / 0.7672 GB, free: 5.234 MB / 0.6231 GB " [Timeout remaining time 177] 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.BesselJ0,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_11_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.002105/0.002105, allocations: 71.91 kB / 1.112 GB, free: 1.527 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7635/0.7656, allocations: 169.9 MB / 1.278 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002902/0.7685, allocations: 1.467 MB / 1.28 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000558/0.7691, allocations: 243.3 kB / 1.28 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.064e-05/0.7691, allocations: 0 / 1.28 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.132e-05/0.7692, allocations: 3.938 kB / 1.28 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.906e-05/0.7692, allocations: 4 kB / 1.28 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003706/0.7696, allocations: 67.5 kB / 1.28 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.087e-05/0.7696, allocations: 27.86 kB / 1.28 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.557e-05/0.7697, allocations: 8 kB / 1.28 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.219e-05/0.7698, allocations: 7.984 kB / 1.28 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.971e-05/0.7698, allocations: 11.92 kB / 1.28 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.7698, allocations: 4 kB / 1.28 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001582/0.77, allocations: 59.89 kB / 1.28 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.325e-05/0.77, allocations: 3.984 kB / 1.28 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.856e-05/0.77, allocations: 15.92 kB / 1.28 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000153/0.7702, allocations: 49.64 kB / 1.28 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.7702, allocations: 0 / 1.28 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.082e-06/0.7702, allocations: 0 / 1.28 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.7702, allocations: 4 kB / 1.28 GB, free: 11.43 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.000504/0.7707, allocations: 343.4 kB / 1.281 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.7707, allocations: 8.031 kB / 1.281 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.219e-05/0.7708, allocations: 34.75 kB / 1.281 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.808e-05/0.7708, allocations: 4.938 kB / 1.281 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.7709, allocations: 172.3 kB / 1.281 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.7709, allocations: 384 / 1.281 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.197e-06/0.7709, allocations: 4.375 kB / 1.281 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.7711, allocations: 50.23 kB / 1.281 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.7711, allocations: 7.938 kB / 1.281 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.7711, allocations: 0 / 1.281 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.7712, allocations: 0 / 1.281 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001776/0.7713, allocations: 27.97 kB / 1.281 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000341/0.7717, allocations: 248.9 kB / 1.281 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.7718, allocations: 46.44 kB / 1.281 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.384e-05/0.7719, allocations: 24.91 kB / 1.281 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007075/0.7726, allocations: 449.5 kB / 1.282 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.7726, allocations: 38.56 kB / 1.282 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/0.7726, allocations: 0 / 1.282 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003789/0.773, allocations: 77.64 kB / 1.282 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.7731, allocations: 59.34 kB / 1.282 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.468e-05/0.7732, allocations: 102 kB / 1.282 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.7732, allocations: 29.83 kB / 1.282 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.898e-05/0.7732, allocations: 84.08 kB / 1.282 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.622e-05/0.7732, allocations: 3.953 kB / 1.282 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/0.7733, allocations: 17.72 kB / 1.282 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.7734, allocations: 310.8 kB / 1.282 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.392e-05/0.7735, allocations: 23.97 kB / 1.282 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.468e-05/0.7736, allocations: 11.98 kB / 1.282 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.7737, allocations: 40.89 kB / 1.282 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.7737, allocations: 11.81 kB / 1.282 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002046/0.774, allocations: 65.59 kB / 1.282 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.774, allocations: 8 kB / 1.282 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.774, allocations: 48 / 1.282 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.774, allocations: 8.016 kB / 1.282 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.671e-05/0.7741, allocations: 7.984 kB / 1.282 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.7741, allocations: 0 / 1.282 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.833e-05/0.7741, allocations: 8 kB / 1.282 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.7741, allocations: 4 kB / 1.282 GB, free: 8.812 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 8.375e-05/0.7742, allocations: 113.8 kB / 1.283 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/0.7742, allocations: 3.953 kB / 1.283 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002605/0.7745, allocations: 80.78 kB / 1.283 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.7745, allocations: 0 / 1.283 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.7745, allocations: 0 / 1.283 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.7745, allocations: 0 / 1.283 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.7747, allocations: 161.5 kB / 1.283 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.7747, allocations: 3.984 kB / 1.283 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.317e-05/0.7748, allocations: 8 kB / 1.283 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.7748, allocations: 0 / 1.283 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.7748, allocations: 0 / 1.283 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.7748, allocations: 0 / 1.283 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.7748, allocations: 4.031 kB / 1.283 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/0.775, allocations: 163.5 kB / 1.283 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.152e-05/0.7751, allocations: 81.09 kB / 1.283 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.7751, allocations: 4 kB / 1.283 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.646e-05/0.7752, allocations: 4 kB / 1.283 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.7752, allocations: 8.016 kB / 1.283 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.7752, allocations: 0 / 1.283 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.929e-05/0.7753, allocations: 79.28 kB / 1.283 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.7753, allocations: 0 / 1.283 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002562/0.7755, allocations: 19.94 kB / 1.283 GB, free: 7.988 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.0007253/0.7763, allocations: 0.7206 MB / 1.284 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002272/0.7765, allocations: 31.97 kB / 1.284 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.7765, allocations: 4.094 kB / 1.284 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.648e-05/0.7766, allocations: 23.91 kB / 1.284 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.7768, allocations: 7.938 kB / 1.284 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004769/0.7773, allocations: 146.9 kB / 1.284 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.7776, allocations: 0.6768 MB / 1.285 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.168e-05/0.7776, allocations: 3.938 kB / 1.285 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.529e-05/0.7777, allocations: 7.5 kB / 1.285 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of SimCode: time 5.91e-07/0.7777, allocations: 4 kB / 1.285 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02654/0.8042, allocations: 1.516 MB / 1.286 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.994/8.799, allocations: 6.656 kB / 1.286 GB, free: 4.82 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Utilities_Math_Examples_BesselJ0.fmu > Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 14.992378394817933]